raees commited on
Commit
36b4b34
1 Parent(s): 9d0bbfe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def classify_image(image):
10
  pred, idx, probs = learner.predict(img)
11
  return dict(zip(categories, map(float, probs)))
12
 
13
- image = gr.inputs.Image(size=(192, 192))
14
  label = gr.outputs.Label()
15
  examples = ['celeb.png', 'holi-celebration-india.jpg', 'riot.png', 'riot2.jpg']
16
 
 
10
  pred, idx, probs = learner.predict(img)
11
  return dict(zip(categories, map(float, probs)))
12
 
13
+ image = gr.inputs.Image(shape=(192, 192))
14
  label = gr.outputs.Label()
15
  examples = ['celeb.png', 'holi-celebration-india.jpg', 'riot.png', 'riot2.jpg']
16