Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,5 +20,6 @@ demo = gr.Interface(fn=detect,
|
|
| 20 |
[](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 |
[](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()
|