Spaces:
Sleeping
Sleeping
Add working app without local binary images
Browse files
app.py
CHANGED
|
@@ -117,24 +117,17 @@ title = "Fashion Item Classifier with Marqo-FashionSigLIP"
|
|
| 117 |
description = "Upload an image or provide a URL of a fashion item to classify it using [Marqo-FashionSigLIP](https://huggingface.co/Marqo/marqo-fashionSigLIP)!"
|
| 118 |
|
| 119 |
examples = [
|
| 120 |
-
["
|
| 121 |
-
["
|
| 122 |
-
["
|
| 123 |
-
["
|
| 124 |
-
["
|
| 125 |
-
["
|
| 126 |
-
["
|
| 127 |
-
["
|
| 128 |
]
|
| 129 |
|
| 130 |
-
with gr.Blocks(
|
| 131 |
-
.remove-btn {
|
| 132 |
-
font-size: 24px !important; /* Increase the font size of the cross button */
|
| 133 |
-
line-height: 24px !important;
|
| 134 |
-
width: 30px !important; /* Increase the width */
|
| 135 |
-
height: 30px !important; /* Increase the height */
|
| 136 |
-
}
|
| 137 |
-
""") as demo:
|
| 138 |
with gr.Row():
|
| 139 |
with gr.Column(scale=1):
|
| 140 |
gr.Markdown(f"# {title}")
|
|
|
|
| 117 |
description = "Upload an image or provide a URL of a fashion item to classify it using [Marqo-FashionSigLIP](https://huggingface.co/Marqo/marqo-fashionSigLIP)!"
|
| 118 |
|
| 119 |
examples = [
|
| 120 |
+
["https://example.com/dress.jpg", "Dress"],
|
| 121 |
+
["https://example.com/sweatpants.jpg", "Sweatpants"],
|
| 122 |
+
["https://example.com/t-shirt.jpg", "T-Shirt"],
|
| 123 |
+
["https://example.com/hat.jpg", "Hat"],
|
| 124 |
+
["https://example.com/blouse.jpg", "Blouse"],
|
| 125 |
+
["https://example.com/cargo.jpg", "Cargos"],
|
| 126 |
+
["https://example.com/sunglasses.jpg", "Sunglasses"],
|
| 127 |
+
["https://example.com/polo-shirt.jpg", "Polo Shirt"],
|
| 128 |
]
|
| 129 |
|
| 130 |
+
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
with gr.Row():
|
| 132 |
with gr.Column(scale=1):
|
| 133 |
gr.Markdown(f"# {title}")
|