mastefan commited on
Commit
8d175d8
·
verified ·
1 Parent(s): a5961f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ def wrapped_run(video_file):
231
  with gr.Blocks() as demo:
232
  gr.Markdown("## 🤺 Fencing Score Detector\nUpload a bout video and detect touches.")
233
 
234
- in_video = gr.Video(label="Upload Bout Video", type="filepath")
235
  run_btn = gr.Button("Detect Touches", elem_id="detect-btn")
236
 
237
  status = gr.Markdown("Status messages will appear here.")
 
231
  with gr.Blocks() as demo:
232
  gr.Markdown("## 🤺 Fencing Score Detector\nUpload a bout video and detect touches.")
233
 
234
+ in_video = gr.Video(label="Upload Bout Video") # fixed: no type="filepath"
235
  run_btn = gr.Button("Detect Touches", elem_id="detect-btn")
236
 
237
  status = gr.Markdown("Status messages will appear here.")