Spaces:
Sleeping
Sleeping
Update pages/upload_analysis.py
Browse files- pages/upload_analysis.py +2 -2
pages/upload_analysis.py
CHANGED
|
@@ -12,8 +12,8 @@ def create_analysis_ui():
|
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
gr.Markdown("### 📤 Upload Batting/Bowling Video for AI Analysis")
|
| 14 |
|
| 15 |
-
# Video upload component
|
| 16 |
-
uploaded_practice_video = gr.File(label="Upload your practice video", type="
|
| 17 |
|
| 18 |
# Video type selection
|
| 19 |
video_type = gr.Dropdown(choices=["Batting", "Bowling"], label="Select Video Type", interactive=True)
|
|
|
|
| 12 |
with gr.Blocks() as demo:
|
| 13 |
gr.Markdown("### 📤 Upload Batting/Bowling Video for AI Analysis")
|
| 14 |
|
| 15 |
+
# Video upload component (fixed type parameter)
|
| 16 |
+
uploaded_practice_video = gr.File(label="Upload your practice video", type="filepath", interactive=True)
|
| 17 |
|
| 18 |
# Video type selection
|
| 19 |
video_type = gr.Dropdown(choices=["Batting", "Bowling"], label="Select Video Type", interactive=True)
|