rosebe commited on
Commit
06f9709
·
1 Parent(s): 751f920

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -180,7 +180,7 @@ img_interface = gr.Interface(
180
  )
181
 
182
  vid_interface = gr.Interface(
183
- fn=detect_image,
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)