Chong-U Lim commited on
Commit
970a523
·
1 Parent(s): c2a1944
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def classify_image(img):
13
  pred, idx, probs = learn.predict(img)
14
  return dict(zip(categories, map(float, probs)))
15
 
16
- image = gr.components.Image(shape=(192,192))
17
  label = gr.components.label()
18
 
19
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
 
13
  pred, idx, probs = learn.predict(img)
14
  return dict(zip(categories, map(float, probs)))
15
 
16
+ image = gr.components.Image(height=192, width=192)
17
  label = gr.components.label()
18
 
19
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']