Luigi commited on
Commit
2880445
·
1 Parent(s): 1268dfc

fix argument name err

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(type="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=(
 
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=(