Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,10 @@ def classify(im):
|
|
23 |
|
24 |
|
25 |
interface = gr.Interface(fn=classify,
|
26 |
-
inputs=
|
27 |
outputs=gr.Label(num_top_classes=3),
|
|
|
|
|
28 |
examples=["https://datasets-server.huggingface.co/assets/beans/--/default/validation/3/image/image.jpg",
|
29 |
"https://datasets-server.huggingface.co/assets/beans/--/default/test/20/image/image.jpg",
|
30 |
"https://datasets-server.huggingface.co/assets/beans/--/default/test/70/image/image.jpg"])
|
|
|
23 |
|
24 |
|
25 |
interface = gr.Interface(fn=classify,
|
26 |
+
inputs="image",
|
27 |
outputs=gr.Label(num_top_classes=3),
|
28 |
+
title="Bean leaf disease classifier",
|
29 |
+
description="This is a bean leaf disease classifier app created as part of CoRise End to End Vision application project",
|
30 |
examples=["https://datasets-server.huggingface.co/assets/beans/--/default/validation/3/image/image.jpg",
|
31 |
"https://datasets-server.huggingface.co/assets/beans/--/default/test/20/image/image.jpg",
|
32 |
"https://datasets-server.huggingface.co/assets/beans/--/default/test/70/image/image.jpg"])
|