Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ with demo:
|
|
141 |
|
142 |
url_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_url,queue=True)
|
143 |
img_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_upload,queue=True)
|
144 |
-
example_images.click(fn=set_example_image,inputs=[example_images],outputs=[
|
145 |
example_url.click(fn=set_example_url,inputs=[example_url],outputs=[url_input])
|
146 |
|
147 |
demo.launch(enable_queue=True)
|
|
|
141 |
|
142 |
url_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_url,queue=True)
|
143 |
img_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_upload,queue=True)
|
144 |
+
example_images.click(fn=set_example_image,inputs=[example_images],outputs=[img_input])
|
145 |
example_url.click(fn=set_example_url,inputs=[example_url],outputs=[url_input])
|
146 |
|
147 |
demo.launch(enable_queue=True)
|