moro23 commited on
Commit
1dac230
1 Parent(s): 4bfda83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -35,8 +35,8 @@ def maize_disease_classifier(image):
35
 
36
  label = labels[pred[0].argmax()]
37
  return label
38
-
39
-
40
- iface = gr.Interface(fn=maize_disease_classifier, inputs=gr.Image(shape=(299, 299)), outputs="text")
41
 
42
  iface.launch(inline=False)
 
35
 
36
  label = labels[pred[0].argmax()]
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)