amosfang commited on
Commit
a4e25e0
1 Parent(s): 03443b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", type="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"]