Spaces:
Runtime error
Runtime error
sabre-code
commited on
Commit
•
45a7af8
1
Parent(s):
665b253
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ def classify(img):
|
|
19 |
|
20 |
|
21 |
|
22 |
-
gr.Interface(
|
23 |
-
|
24 |
inputs=gr.Image(shape=(180, 180)),
|
25 |
outputs=gr.Label(num_top_classes=5),examples=["Dandelion.jpg", "rose.jpeg","sunflower.jpg", "tulips.jpeg"]).launch(debug=True)
|
26 |
|
|
|
19 |
|
20 |
|
21 |
|
22 |
+
gr.Interface(title="Flower Classification App [Sunflower, Rose, Daisy, Dandelion, Tulips]",
|
23 |
+
fn=classify,
|
24 |
inputs=gr.Image(shape=(180, 180)),
|
25 |
outputs=gr.Label(num_top_classes=5),examples=["Dandelion.jpg", "rose.jpeg","sunflower.jpg", "tulips.jpeg"]).launch(debug=True)
|
26 |
|