moro23 commited on
Commit
07aaf7e
1 Parent(s): 1dac230

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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
- iface = gr.Interface(fn=maize_disease_classifier, inputs=gr.Image(shape=(299, 299)), outputs="text", title=title)
 
 
 
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)