tonyassi commited on
Commit
30371fc
·
verified ·
1 Parent(s): 9f04313

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,5 +20,6 @@ demo = gr.Interface(fn=detect,
20
  [![Github](https://img.shields.io/badge/Github-Repo-blue)](https://github.com/TonyAssi/foot-detection)
21
  """,
22
  inputs=[gr.Image(label='Input', type='pil'), gr.Slider(label='Threshold', minimum=0.0, maximum=1.0, value=0.3)],
23
- outputs=gr.Image(label='Result', type='pil'))
 
24
  demo.launch()
 
20
  [![Github](https://img.shields.io/badge/Github-Repo-blue)](https://github.com/TonyAssi/foot-detection)
21
  """,
22
  inputs=[gr.Image(label='Input', type='pil'), gr.Slider(label='Threshold', minimum=0.0, maximum=1.0, value=0.3)],
23
+ outputs=gr.Image(label='Result', type='pil'),
24
+ examples=[['examples/1.jpg', 0.3], ['examples/2.jpg', 0.3], ['examples/3.jpg', 0.3], ['examples/4.jpg', 0.3], ['examples/5.jpg', 0.3], ['examples/6.jpg', 0.3]])
25
  demo.launch()