k-tan commited on
Commit
6a4543d
1 Parent(s): 027231c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def classify_image(img):
12
  pred, idx, probs = learner.predict(img);
13
  return dict(zip(categories, map(float, probs)))
14
 
15
- image = gr.Image(shape=(192,192));
16
 
17
  label = gr.Label();
18
 
 
12
  pred, idx, probs = learner.predict(img);
13
  return dict(zip(categories, map(float, probs)))
14
 
15
+ image = gr.Image(height=192, width=192);
16
 
17
  label = gr.Label();
18