Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ img_interface = gr.Interface(
|
|
180 |
)
|
181 |
|
182 |
vid_interface = gr.Interface(
|
183 |
-
fn=
|
184 |
inputs=gr.inputs.Video(source="upload"),
|
185 |
outputs="video",
|
186 |
title="Video"
|
@@ -192,5 +192,5 @@ interfaces = [img_interface, vid_interface]
|
|
192 |
# Create the tabbed interface
|
193 |
tabbed_interface = gr.TabbedInterface(interfaces, ["Image", "Video"])
|
194 |
|
195 |
-
# Launch the tabbed interface
|
196 |
tabbed_interface.launch(debug=True)
|
|
|
180 |
)
|
181 |
|
182 |
vid_interface = gr.Interface(
|
183 |
+
fn=detect_video,
|
184 |
inputs=gr.inputs.Video(source="upload"),
|
185 |
outputs="video",
|
186 |
title="Video"
|
|
|
192 |
# Create the tabbed interface
|
193 |
tabbed_interface = gr.TabbedInterface(interfaces, ["Image", "Video"])
|
194 |
|
195 |
+
# Launch the tabbed interface
|
196 |
tabbed_interface.launch(debug=True)
|