Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ def classify_images(im):
|
|
9 |
|
10 |
|
11 |
|
12 |
-
img=gr.
|
13 |
-
label=gr.
|
14 |
examples=["healthy1.jpeg","mosaic.jpeg","redrot.jpeg"]
|
15 |
|
16 |
intf=gr.Interface(title="Sugarcane leaves Disease Recognition App",description="You can choose an example or choose picture of your plant.",fn=classify_images,inputs=img,outputs=label,examples=examples)
|
|
|
9 |
|
10 |
|
11 |
|
12 |
+
img=gr.Image()
|
13 |
+
label=gr.Label()
|
14 |
examples=["healthy1.jpeg","mosaic.jpeg","redrot.jpeg"]
|
15 |
|
16 |
intf=gr.Interface(title="Sugarcane leaves Disease Recognition App",description="You can choose an example or choose picture of your plant.",fn=classify_images,inputs=img,outputs=label,examples=examples)
|