muhaksim commited on
Commit
9427b4a
1 Parent(s): cc46e45

fixed the label

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,9 +9,8 @@ def classify_images(img):
9
  pred, index, probs = learner.predict(img)
10
  return dict(zip(categories, map(float, probs)))
11
 
12
-
13
  image = gr.Image()
14
- label = gr.outputs.Label()
15
  examples = ['kentish_plover.png', 'white-faced_plover.png']
16
 
17
  intf = gr.Interface(fn=classify_images, inputs=image, outputs=label, examples=examples)
 
9
  pred, index, probs = learner.predict(img)
10
  return dict(zip(categories, map(float, probs)))
11
 
 
12
  image = gr.Image()
13
+ label = gr.Label()
14
  examples = ['kentish_plover.png', 'white-faced_plover.png']
15
 
16
  intf = gr.Interface(fn=classify_images, inputs=image, outputs=label, examples=examples)