JohanBeytell commited on
Commit
ea9e952
·
verified ·
1 Parent(s): d20cafb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def classify_potato_plant(img):
36
  interface = gr.Interface(
37
  fn=classify_potato_plant,
38
  inputs=gr.Image(type="pil"),
39
- outputs=[gr.Label(label="Predicted Classes", num_top_classes=1), gr.Textbox(label="Predicted Output"), gr.Textbox(label="Confidence Score")],
40
  title="Acres - PPDC",
41
  description="Acres PPDC, is our Potato Plant Disease Classification vision model, capable of accurately classifying potato plant disease, based on a single image."
42
  )
 
36
  interface = gr.Interface(
37
  fn=classify_potato_plant,
38
  inputs=gr.Image(type="pil"),
39
+ outputs=[gr.Label(label="Predicted Classes", num_top_classes=3), gr.Textbox(label="Predicted Output"), gr.Textbox(label="Confidence Score")],
40
  title="Acres - PPDC",
41
  description="Acres PPDC, is our Potato Plant Disease Classification vision model, capable of accurately classifying potato plant disease, based on a single image."
42
  )