Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,7 +143,7 @@ with demo:
|
|
| 143 |
|
| 144 |
|
| 145 |
url_but.click(detect_objects_from_url,inputs=[options,url_input,slider_input],outputs=img_output_from_url,queue=True)
|
| 146 |
-
img_but.click(
|
| 147 |
|
| 148 |
|
| 149 |
demo.launch(enable_queue=True)
|
|
|
|
| 143 |
|
| 144 |
|
| 145 |
url_but.click(detect_objects_from_url,inputs=[options,url_input,slider_input],outputs=img_output_from_url,queue=True)
|
| 146 |
+
img_but.click(detect_objects_from_upload,inputs=[options,img_input,slider_input],outputs=img_output_from_upload,queue=True)
|
| 147 |
|
| 148 |
|
| 149 |
demo.launch(enable_queue=True)
|