George Sergia commited on
Commit
5150d70
·
1 Parent(s): aae26ba

Fix image component

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def classify_bear(img):
10
  return dict(zip(categories, map(float,probs)))
11
 
12
 
13
- image = gr.components.Image(shape=(192,192))
14
  label = gr.components.Label()
15
  examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]
16
 
 
10
  return dict(zip(categories, map(float,probs)))
11
 
12
 
13
+ image = gr.components.Image(width=192,height=192)
14
  label = gr.components.Label()
15
  examples=["grizzly.jpg", "brown.jpg", "white.jpg", "black.jpg", "teddy.jpg"]
16