Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,6 @@ 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
|
44 |
|
45 |
iface.launch(inline=False)
|
|
|
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=Input, outputs=Output1, title=title, description=description)
|
44 |
|
45 |
iface.launch(inline=False)
|