Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,8 +50,15 @@ interface = gr.Interface(
|
|
50 |
inputs=gr.Image(label="Uploaded Image"),
|
51 |
outputs=gr.Text(label="Predicted Clothing"),
|
52 |
title="Clothing Category Classifier",
|
53 |
-
description=
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
flagging_mode="never",
|
56 |
theme="soft"
|
57 |
)
|
|
|
50 |
inputs=gr.Image(label="Uploaded Image"),
|
51 |
outputs=gr.Text(label="Predicted Clothing"),
|
52 |
title="Clothing Category Classifier",
|
53 |
+
description = """
|
54 |
+
**Upload an image of clothing, and the model will predict its category.**
|
55 |
+
Try using an image that doesn't belong to any of the available categories, and see how the result differs!
|
56 |
+
|
57 |
+
**Categories:**
|
58 |
+
| T-Shirt | Shirt | Knitwear | Chiffon | Sweater | Hoodie | Windbreaker |
|
59 |
+
| Jacket | Downcoat | Suit | Shawl | Dress | Vest | Underwear |
|
60 |
+
""",
|
61 |
+
examples=[[str(file)] for file in Path("examples").glob("*")],
|
62 |
flagging_mode="never",
|
63 |
theme="soft"
|
64 |
)
|