Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,9 @@ def maize_disease_classifier(image):
|
|
37 |
return label
|
38 |
################### Gradio Web APP ################################
|
39 |
title = "Maize Disease Classification App"
|
40 |
-
|
|
|
|
|
|
|
41 |
|
42 |
iface.launch(inline=False)
|
|
|
37 |
return label
|
38 |
################### Gradio Web APP ################################
|
39 |
title = "Maize Disease Classification App"
|
40 |
+
Input = gr.Image(shape=(299, 299), label="Please Upload An Image")
|
41 |
+
Output1 = gr.Textbox(label="Type Of Maize Disease")
|
42 |
+
description = "This application displays the type (Maize Ear Rot, Maize Fall ArmyWorm, Maize Stem Borer) of maize disease"
|
43 |
+
iface = gr.Interface(fn=maize_disease_classifier, inputs=, outputs=Output1, title=title, description=description)
|
44 |
|
45 |
iface.launch(inline=False)
|