yutyan commited on
Commit
de36afe
·
1 Parent(s): c9900aa

add samples

Browse files
app.py CHANGED
@@ -37,7 +37,9 @@ image_interface = gr.Interface(
37
  gr.Slider(0.01, 1, value=0.4, step=0.01, label="Confidence Threshold", ),
38
  gr.Slider(0.01, 1, value=0.01, step=0.01, label="NMS Threshold")
39
  ],
40
- examples=[["assets/sample.png", 0.4, 0.01]],
 
 
41
  outputs=gr.Image(type="pil"),
42
  title="OpenLenda image demo"
43
  )
 
37
  gr.Slider(0.01, 1, value=0.4, step=0.01, label="Confidence Threshold", ),
38
  gr.Slider(0.01, 1, value=0.01, step=0.01, label="NMS Threshold")
39
  ],
40
+ examples=[["assets/sample.png", 0.4, 0.01], ["assets/sample4.jpg", 0.4, 0.01],
41
+ ["assets/sample5.jpg", 0.4, 0.01], ["assets/sample6.jpg", 0.4, 0.01],
42
+ ["assets/sample7.jpg", 0.4, 0.01], ["assets/sample8.jpg", 0.4, 0.01]],
43
  outputs=gr.Image(type="pil"),
44
  title="OpenLenda image demo"
45
  )
assets/sample4.jpg ADDED
assets/sample5.jpg ADDED
assets/sample6.jpg ADDED
assets/sample7.jpg ADDED
assets/sample8.jpg ADDED