Update app.py
Browse files
app.py
CHANGED
|
@@ -299,21 +299,21 @@ with demo:
|
|
| 299 |
|
| 300 |
url_but.click(
|
| 301 |
detect_objects_image,
|
| 302 |
-
inputs=[url_input, img_input, web_input, slider_input],
|
| 303 |
outputs=[img_output_from_url],
|
| 304 |
queue=True
|
| 305 |
)
|
| 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 |
)
|
|
|
|
| 299 |
|
| 300 |
url_but.click(
|
| 301 |
detect_objects_image,
|
| 302 |
+
inputs=[options, url_input, img_input, web_input, slider_input],
|
| 303 |
outputs=[img_output_from_url],
|
| 304 |
queue=True
|
| 305 |
)
|
| 306 |
|
| 307 |
img_but.click(
|
| 308 |
detect_objects_image,
|
| 309 |
+
inputs=[options, 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=[options, url_input, img_input, web_input, slider_input],
|
| 317 |
outputs=[img_output_from_webcam],
|
| 318 |
queue=True
|
| 319 |
)
|