k-tan commited on
Commit
027231c
1 Parent(s): 40d1ca8
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,9 +12,9 @@ def classify_image(img):
12
  pred, idx, probs = learner.predict(img);
13
  return dict(zip(categories, map(float, probs)))
14
 
15
- image = gr.inputs.Image(shape=(192,192));
16
 
17
- label = gr.outputs.Label();
18
 
19
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg'];
20
 
 
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
 
19
  examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg'];
20