Spaces:
Runtime error
Runtime error
Update main.py
Browse files
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(
|