Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,12 +4,10 @@ model = gr.load("models/manoh2f2/finetuned-vit-flowers")
|
|
4 |
images = ["images/daisy.jpg", "images/dandelion.jpg", "images/rosa.jpg", "images/sunflower.jpg", "images/tulip.jpg"]
|
5 |
|
6 |
iface = gr.Interface(
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
examples = images,
|
12 |
-
title = "Flower Classifier"
|
13 |
)
|
14 |
|
15 |
iface.launch()
|
|
|
4 |
images = ["images/daisy.jpg", "images/dandelion.jpg", "images/rosa.jpg", "images/sunflower.jpg", "images/tulip.jpg"]
|
5 |
|
6 |
iface = gr.Interface(
|
7 |
+
model,
|
8 |
+
examples= [ [example] for example in images],
|
9 |
+
description="Daisy, Dandelion, Rose, Sonflower, Tulip",
|
10 |
+
title="FLower Classifier - Vit"
|
|
|
|
|
11 |
)
|
12 |
|
13 |
iface.launch()
|