dyadd commited on
Commit
9fb0e3f
1 Parent(s): 300ba59

shape error fix -> height/width

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def classify_image(img):
11
  pred,idx,probs = learn.predict(img)
12
  return dict(zip(categories, map(float,probs)))
13
 
14
- image = gr.components.Image(shape=(192,192))
15
  label = gr.components.Label()
16
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
17
 
 
11
  pred,idx,probs = learn.predict(img)
12
  return dict(zip(categories, map(float,probs)))
13
 
14
+ image = gr.components.Image(height=192, width=192)
15
  label = gr.components.Label()
16
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
17