elsoori commited on
Commit
16e9c94
·
1 Parent(s): 1484453

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,8 +23,8 @@ with gr.Blocks() as demo:
23
  # return {max_prob_category: max_prob}
24
 
25
 
26
- image = gr.Image(shape=(192,192))
27
- label = gr.Label()
28
  examples = ['BacterialBlight.jpg','BrownSpot.jpg','DownyMildew.jpeg','FrogeyeLeafSpot.jpg','HealthyLeaf.jpg']
29
  #intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, title=title, description=description)
30
 
 
23
  # return {max_prob_category: max_prob}
24
 
25
 
26
+ image = gr.inputs.Image(shape=(192, 192))
27
+ label = gr.outputs.Label()
28
  examples = ['BacterialBlight.jpg','BrownSpot.jpg','DownyMildew.jpeg','FrogeyeLeafSpot.jpg','HealthyLeaf.jpg']
29
  #intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, title=title, description=description)
30