nickmuchi commited on
Commit
b734746
1 Parent(s): 5234a30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[0])
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])