Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ def process_video(input_video):
|
|
59 |
|
60 |
return output_path
|
61 |
|
62 |
-
video_input = gr.
|
63 |
-
processed_video = gr.
|
64 |
|
65 |
interface = gr.Interface(
|
66 |
fn=process_video,
|
@@ -71,3 +71,5 @@ interface = gr.Interface(
|
|
71 |
)
|
72 |
|
73 |
interface.launch()
|
|
|
|
|
|
59 |
|
60 |
return output_path
|
61 |
|
62 |
+
video_input = gr.Video(label="Input Video")
|
63 |
+
processed_video = gr.Image(label="Processed Video") # No 'outputs' submodule
|
64 |
|
65 |
interface = gr.Interface(
|
66 |
fn=process_video,
|
|
|
71 |
)
|
72 |
|
73 |
interface.launch()
|
74 |
+
|
75 |
+
|