Muhammad Abdullahi commited on
Commit
af6f04f
1 Parent(s): 2ec2784

removed the shape function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def classify_images(img):
10
  return dict(zip(categories, map(float, probs)))
11
  # return {learner.dls.vocab[i]: float(probs[i]) for i in range(len(learner.dls.vocab))}
12
 
13
- image = gr.Image(shape=(192,192))
14
  # label = gr.outputs.Label()
15
  examples = ['kentish.png', 'white-faced.png']
16
 
 
10
  return dict(zip(categories, map(float, probs)))
11
  # return {learner.dls.vocab[i]: float(probs[i]) for i in range(len(learner.dls.vocab))}
12
 
13
+ image = gr.Image()
14
  # label = gr.outputs.Label()
15
  examples = ['kentish.png', 'white-faced.png']
16