Update app.py
Browse files
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 |
|