Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ def process_video(video_path):
|
|
123 |
# Create the video processing interface
|
124 |
tab2 = gr.Interface(
|
125 |
fn=process_video,
|
126 |
-
inputs=gr.File(label="Upload a video",
|
127 |
outputs=gr.File(type="video/mp4"),
|
128 |
title='Video Processing',
|
129 |
examples=["example_video.mp4"]
|
|
|
123 |
# Create the video processing interface
|
124 |
tab2 = gr.Interface(
|
125 |
fn=process_video,
|
126 |
+
inputs=gr.File(label="Upload a video", accept=".mp4"),
|
127 |
outputs=gr.File(type="video/mp4"),
|
128 |
title='Video Processing',
|
129 |
examples=["example_video.mp4"]
|