annanau commited on
Commit
cbd42a4
·
verified ·
1 Parent(s): 3057e45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def classify_image(img):
26
  # Gradio interface
27
  demo = gr.Interface(
28
  fn=classify_image,
29
- inputs=gr.inputs.Image(type="pil"),
30
- outputs=[gr.outputs.Label(num_top_classes=len(class_labels)), "number"],
31
  live=True
32
  )
33
 
 
26
  # Gradio interface
27
  demo = gr.Interface(
28
  fn=classify_image,
29
+ inputs=gr.Image(type="pil"),
30
+ outputs=[gr.Label(num_top_classes=len(class_labels)), "number"],
31
  live=True
32
  )
33