Diego Carpintero
commited on
Commit
·
c912b6b
1
Parent(s):
c726874
update description
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ import torchvision.transforms as transforms
|
|
| 7 |
|
| 8 |
|
| 9 |
title = "Fashion Image Recognition"
|
|
|
|
| 10 |
inputs = gr.components.Image()
|
| 11 |
outputs = gr.components.Label()
|
| 12 |
examples = "examples"
|
|
@@ -41,6 +42,7 @@ with gr.Blocks() as demo:
|
|
| 41 |
inputs=inputs,
|
| 42 |
outputs=outputs,
|
| 43 |
examples=examples,
|
|
|
|
| 44 |
).queue(default_concurrency_limit=5)
|
| 45 |
|
| 46 |
demo.launch()
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
title = "Fashion Image Recognition"
|
| 10 |
+
description = "Trained on the Fashion MNIST dataset (28x28 pixels). The model expects images containing only one garment article as in the examples."
|
| 11 |
inputs = gr.components.Image()
|
| 12 |
outputs = gr.components.Label()
|
| 13 |
examples = "examples"
|
|
|
|
| 42 |
inputs=inputs,
|
| 43 |
outputs=outputs,
|
| 44 |
examples=examples,
|
| 45 |
+
description=description,
|
| 46 |
).queue(default_concurrency_limit=5)
|
| 47 |
|
| 48 |
demo.launch()
|