JohanBeytell commited on
Commit
096bbc6
·
verified ·
1 Parent(s): ae0a93e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def classify_potato_plant(img):
29
  interface = gr.Interface(
30
  fn=classify_potato_plant,
31
  inputs=gr.Image(type="pil"),
32
- outputs=[gr.Label(num_top_classes=1), gr.outputs.Textbox(label="Confidence Score")]
33
  )
34
 
35
  # Launch the app
 
29
  interface = gr.Interface(
30
  fn=classify_potato_plant,
31
  inputs=gr.Image(type="pil"),
32
+ outputs=[gr.Label(num_top_classes=1), gr.Textbox(label="Confidence Score")]
33
  )
34
 
35
  # Launch the app