randomb0tt commited on
Commit
ba3f026
1 Parent(s): 54c4f6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def classify_image(img):
15
  return dict(zip(categories, map(float, probs)))
16
 
17
  image = gr.inputs.Image(shape=(192, 192))
18
- label = gr.outputs.label()
19
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
20
 
21
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
15
  return dict(zip(categories, map(float, probs)))
16
 
17
  image = gr.inputs.Image(shape=(192, 192))
18
+ label = gr.outputs.Label()
19
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
20
 
21
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)