yashdrinkswater commited on
Commit
cfb367b
1 Parent(s): c3748b2

minor change

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