Simon9 commited on
Commit
3bb84e4
·
verified ·
1 Parent(s): 86785e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1283,10 +1283,9 @@ with gr.Blocks(title="⚽ Football Performance Analyzer", theme=gr.themes.Soft()
1283
  Upload a football match video to get comprehensive performance analytics!
1284
  """)
1285
 
1286
- with gr.Row():
1287
- # IMPORTANT: type="filepath" so analyze_football_video gets a string path
1288
- video_input = gr.Video(label="📤 Upload Football Video", type="filepath")
1289
-
1290
 
1291
  analyze_btn = gr.Button("🚀 Start Analysis Pipeline", variant="primary", size="lg")
1292
 
 
1283
  Upload a football match video to get comprehensive performance analytics!
1284
  """)
1285
 
1286
+ with gr.Row():
1287
+ # No "type" argument here Gradio's Video in your Space does not support it
1288
+ video_input = gr.Video(label="📤 Upload Football Video")
 
1289
 
1290
  analyze_btn = gr.Button("🚀 Start Analysis Pipeline", variant="primary", size="lg")
1291