Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def detect_objects(model_name,url_input,image_input,threshold):
|
|
75 |
return viz_img
|
76 |
|
77 |
def set_example_image(example: list) -> dict:
|
78 |
-
return gr.Image.update(value=example
|
79 |
|
80 |
def set_example_url(example: list) -> dict:
|
81 |
return gr.Textbox.update(value=example[0])
|
|
|
75 |
return viz_img
|
76 |
|
77 |
def set_example_image(example: list) -> dict:
|
78 |
+
return gr.Image.update(value=example)
|
79 |
|
80 |
def set_example_url(example: list) -> dict:
|
81 |
return gr.Textbox.update(value=example[0])
|