Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ with app:
|
|
121 |
|
122 |
|
123 |
url_but.click(detect_objects,inputs=[options,url_input,None,slider_input],outputs=img_output_from_url,queue=True)
|
124 |
-
img_but.click(detect_objects,inputs=[options,None,img_input,slider_input],
|
125 |
|
126 |
|
127 |
app.launch(enable_queue=True)
|
|
|
121 |
|
122 |
|
123 |
url_but.click(detect_objects,inputs=[options,url_input,None,slider_input],outputs=img_output_from_url,queue=True)
|
124 |
+
img_but.click(detect_objects,inputs=[options,None,img_input,slider_input],outputs=img_output_from_upload,queue=True)
|
125 |
|
126 |
|
127 |
app.launch(enable_queue=True)
|