Spaces:
Running
on
Zero
Running
on
Zero
fix argument name err
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def process_video(video_file):
|
|
103 |
# Gradio interface definition.
|
104 |
demo = gr.Interface(
|
105 |
fn=process_video,
|
106 |
-
inputs=gr.Video(
|
107 |
outputs=[gr.Textbox(label="Detection Results"), gr.Image(label="Representative Frame")],
|
108 |
title="LightCLIP Fall Detection Demo",
|
109 |
description=(
|
|
|
103 |
# Gradio interface definition.
|
104 |
demo = gr.Interface(
|
105 |
fn=process_video,
|
106 |
+
inputs=gr.Video(value="filepath", label="Upload Video Clip"),
|
107 |
outputs=[gr.Textbox(label="Detection Results"), gr.Image(label="Representative Frame")],
|
108 |
title="LightCLIP Fall Detection Demo",
|
109 |
description=(
|