JohanBeytell commited on
Commit
ae0a93e
·
verified ·
1 Parent(s): 2bd102f

Update app.py

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