jschwab21 commited on
Commit
1503650
·
verified ·
1 Parent(s): e86173d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def save_and_display_video(video_file):
19
 
20
  with gr.Blocks() as demo:
21
  with gr.Column():
22
- video_file = gr.File(label="Upload Video File", type="binary", file_types=["mp4", "avi", "move"], interactive=True)
23
  output_video = gr.Video()
24
  output_message = gr.Textbox(label="Output Message")
25
  submit_button = gr.Button("Display Video")
 
19
 
20
  with gr.Blocks() as demo:
21
  with gr.Column():
22
+ video_file = gr.UploadButton(label="Upload Video File", file_types=["mp4", "avi", "mov"], interactive=True)
23
  output_video = gr.Video()
24
  output_message = gr.Textbox(label="Output Message")
25
  submit_button = gr.Button("Display Video")