toobarah commited on
Commit
e875426
1 Parent(s): af89aa9

another oney

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def classify_image(img):
24
  return dict(zip(categories, map(float,probs)))
25
 
26
  # Cell
27
- image = gr.inputs.Image(shape=(192, 192))
28
- label = gr.outputs.Label()
29
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
30
 
31
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
24
  return dict(zip(categories, map(float,probs)))
25
 
26
  # Cell
27
+ image = gr.Image()
28
+ label = gr.Label()
29
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
30
 
31
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)