codelion commited on
Commit
b3e97a9
·
verified ·
1 Parent(s): 78aee58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def analyze_video(video_file: str, user_query: str) -> str:
93
  iface = gr.Interface(
94
  fn=analyze_video,
95
  inputs=[
96
- gr.Video(label="Upload Video File (MP4)", type="filepath"),
97
  gr.Textbox(label="Analysis Query (optional)",
98
  placeholder="e.g., focus on main events or themes")
99
  ],
 
93
  iface = gr.Interface(
94
  fn=analyze_video,
95
  inputs=[
96
+ gr.Video(label="Upload Video File (MP4)"), # Removed type="filepath"
97
  gr.Textbox(label="Analysis Query (optional)",
98
  placeholder="e.g., focus on main events or themes")
99
  ],