Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
| 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.")
|