aidas-79 commited on
Commit
4b558b8
·
verified ·
1 Parent(s): e0c3530

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -25,9 +25,9 @@ def preprocess_input(input):
25
  input_video = gr.Video(label="Input Video")
26
  input_url = gr.Textbox(label="Input URL", placeholder="Enter URL")
27
  output_frames_1 = gr.Image(label="Output Frames")
28
- output_video_file_1 = gr.Video(label="Output video", autoplay=True)
29
  output_frames_2 = gr.Image(label="Output Frames")
30
- output_video_file_2 = gr.Video(label="Output video", autoplay=True)
31
  # sample_video=r'sample/car.mp4'
32
 
33
  file_tab = gr.Interface(
 
25
  input_video = gr.Video(label="Input Video")
26
  input_url = gr.Textbox(label="Input URL", placeholder="Enter URL")
27
  output_frames_1 = gr.Image(label="Output Frames")
28
+ output_video_file_1 = gr.Video(label="Output video", streaming=True, autoplay=True)
29
  output_frames_2 = gr.Image(label="Output Frames")
30
+ output_video_file_2 = gr.Video(label="Output video", streaming=True, autoplay=True)
31
  # sample_video=r'sample/car.mp4'
32
 
33
  file_tab = gr.Interface(