Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def maize_disease_classifier(image):
|
|
16 |
return pred_name, pred_prob
|
17 |
|
18 |
|
19 |
-
iface = gr.Interface(fn=
|
20 |
outputs=["text", "number"])
|
21 |
|
22 |
iface.launch(inline=False)
|
|
|
16 |
return pred_name, pred_prob
|
17 |
|
18 |
|
19 |
+
iface = gr.Interface(fn=maize_disease_classifier, inputs=gr.inputs.Image(shape=(224, 224)), \
|
20 |
outputs=["text", "number"])
|
21 |
|
22 |
iface.launch(inline=False)
|