davy-chen commited on
Commit
2970bd8
1 Parent(s): faed080
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def classify_image(img):
11
  return dict(zip(categories, map(float,probs)))
12
 
13
  image = gr.Image()
14
- label = gr.outputs.Label()
15
  examples = ['dog.jpg', 'cat.jpg', 'shiba.jpg']
16
 
17
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
11
  return dict(zip(categories, map(float,probs)))
12
 
13
  image = gr.Image()
14
+ label = gr.Label()
15
  examples = ['dog.jpg', 'cat.jpg', 'shiba.jpg']
16
 
17
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)