mohamdlog commited on
Commit
92b7b14
·
1 Parent(s): 74a13c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
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="Upload an image of clothing, and the model will predict its category.",
54
- examples = [[str(file)] for file in Path("examples").glob("*")],
 
 
 
 
 
 
 
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
  )