bugfix
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def process_video(video_file):
|
|
91 |
# Gradio interface definition.
|
92 |
demo = gr.Interface(
|
93 |
fn=process_video,
|
94 |
-
inputs=gr.Video(
|
95 |
outputs=gr.Textbox(label="Predicted Actions"),
|
96 |
title="Video Human Detection Demo using TimeSformer",
|
97 |
description=(
|
|
|
91 |
# Gradio interface definition.
|
92 |
demo = gr.Interface(
|
93 |
fn=process_video,
|
94 |
+
inputs=gr.Video(sources=["upload"], label="Upload Video Clip"),
|
95 |
outputs=gr.Textbox(label="Predicted Actions"),
|
96 |
title="Video Human Detection Demo using TimeSformer",
|
97 |
description=(
|