Update app.py
Browse files
app.py
CHANGED
|
@@ -306,21 +306,21 @@ with demo:
|
|
| 306 |
|
| 307 |
img_but.click(
|
| 308 |
detect_objects_image,
|
| 309 |
-
inputs=[
|
| 310 |
outputs=[img_output_from_upload],
|
| 311 |
queue=True
|
| 312 |
)
|
| 313 |
|
| 314 |
cam_but.click(
|
| 315 |
detect_objects_image,
|
| 316 |
-
inputs=[
|
| 317 |
outputs=[img_output_from_webcam],
|
| 318 |
queue=True
|
| 319 |
)
|
| 320 |
|
| 321 |
vid_but.click(
|
| 322 |
detect_objects_video,
|
| 323 |
-
inputs=[
|
| 324 |
outputs=[video_output],
|
| 325 |
queue=True
|
| 326 |
)
|
|
|
|
| 306 |
|
| 307 |
img_but.click(
|
| 308 |
detect_objects_image,
|
| 309 |
+
inputs=[url_input, img_input, web_input, slider_input],
|
| 310 |
outputs=[img_output_from_upload],
|
| 311 |
queue=True
|
| 312 |
)
|
| 313 |
|
| 314 |
cam_but.click(
|
| 315 |
detect_objects_image,
|
| 316 |
+
inputs=[url_input, img_input, web_input, slider_input],
|
| 317 |
outputs=[img_output_from_webcam],
|
| 318 |
queue=True
|
| 319 |
)
|
| 320 |
|
| 321 |
vid_but.click(
|
| 322 |
detect_objects_video,
|
| 323 |
+
inputs=[video_input, slider_input],
|
| 324 |
outputs=[video_output],
|
| 325 |
queue=True
|
| 326 |
)
|