Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,11 @@ def detect(img, threshold):
|
|
11 |
|
12 |
demo = gr.Interface(fn=detect,
|
13 |
title='Foot Detection',
|
14 |
-
description="by [Tony Assi](https://www.tonyassi.com/)
|
|
|
|
|
|
|
|
|
15 |
inputs=[gr.Image(label='Input', type='pil'), gr.Slider(label='Threshold', minimum=0.0, maximum=1.0, value=0.3)],
|
16 |
outputs=gr.Image(label='Result', type='pil'),
|
17 |
cache_examples=True,
|
|
|
11 |
|
12 |
demo = gr.Interface(fn=detect,
|
13 |
title='Foot Detection',
|
14 |
+
description="""by [Tony Assi](https://www.tonyassi.com/)
|
15 |
+
|
16 |
+
[Model](https://huggingface.co/tonyassi/foot-detection) [Github](https://github.com/TonyAssi/foot-detection)
|
17 |
+
|
18 |
+
A lightweight Python module for detecting feet or shoes in images using a fine-tuned Faster R-CNN model (PyTorch + Torchvision).""",
|
19 |
inputs=[gr.Image(label='Input', type='pil'), gr.Slider(label='Threshold', minimum=0.0, maximum=1.0, value=0.3)],
|
20 |
outputs=gr.Image(label='Result', type='pil'),
|
21 |
cache_examples=True,
|