Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ with gr.Blocks() as demo:
|
|
| 93 |
|
| 94 |
with gr.Tab("π₯ Video Upload"):
|
| 95 |
gr.Markdown("### π₯ Analyze Uploaded Video")
|
| 96 |
-
video_file = gr.File(label="Upload a video file", type="
|
| 97 |
user_query = gr.Textbox(label="What insights are you seeking from the video?", placeholder="Ask anything about the video content.")
|
| 98 |
analyze_button = gr.Button("π Analyze Video")
|
| 99 |
analysis_result = gr.Textbox(label="Analysis Result", interactive=False)
|
|
|
|
| 93 |
|
| 94 |
with gr.Tab("π₯ Video Upload"):
|
| 95 |
gr.Markdown("### π₯ Analyze Uploaded Video")
|
| 96 |
+
video_file = gr.File(label="Upload a video file", type="filepath", file_types=["mp4", "mov", "avi"])
|
| 97 |
user_query = gr.Textbox(label="What insights are you seeking from the video?", placeholder="Ask anything about the video content.")
|
| 98 |
analyze_button = gr.Button("π Analyze Video")
|
| 99 |
analysis_result = gr.Textbox(label="Analysis Result", interactive=False)
|