Myrax3000 commited on
Commit
d8843c8
·
1 Parent(s): 1f7d3d9

Fix compilation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def classify_image(photo):
10
  return dict(zip(categories, map(float, probs)))
11
 
12
  image = gr.inputs.Image(shape=(192,192))
13
- label = gr.outputs.Labels()
14
  exemples = ['king.jpg', 'yugi.jpg', 'pikachu.jpg']
15
 
16
  iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, exemples=exemples)
 
10
  return dict(zip(categories, map(float, probs)))
11
 
12
  image = gr.inputs.Image(shape=(192,192))
13
+ label = gr.outputs.Label()
14
  exemples = ['king.jpg', 'yugi.jpg', 'pikachu.jpg']
15
 
16
  iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, exemples=exemples)