aniket-manhas commited on
Commit
f4e7917
·
1 Parent(s): cccaf18

fix % error in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def predict(image: Image.Image):
30
  interface = gr.Interface(
31
  fn=predict,
32
  inputs=gr.Image(type="pil"),
33
- outputs=gr.Label(num_top_classes=3),
34
  title="Plant Disease Classifier",
35
  description="Upload an image of a plant leaf to identify the disease."
36
  )
 
30
  interface = gr.Interface(
31
  fn=predict,
32
  inputs=gr.Image(type="pil"),
33
+ outputs=gr.Textbox(),
34
  title="Plant Disease Classifier",
35
  description="Upload an image of a plant leaf to identify the disease."
36
  )