rupeshs commited on
Commit
9324d1f
·
1 Parent(s): dfba5ee

updated size

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def classify_image(img):
11
  return dict(zip(categories, map(float, prob)))
12
 
13
 
14
- image = gr.inputs.Image(192, 192)
15
  label = gr.outputs.Label()
16
  examples = ["mario.jpg", "popeye.png"]
17
 
 
11
  return dict(zip(categories, map(float, prob)))
12
 
13
 
14
+ image = gr.inputs.Image(shape=(192, 192))
15
  label = gr.outputs.Label()
16
  examples = ["mario.jpg", "popeye.png"]
17
 
requirements.txt CHANGED
@@ -2,4 +2,5 @@ fastai
2
  torch
3
  gradio
4
  numpy
5
- pandas
 
 
2
  torch
3
  gradio
4
  numpy
5
+ pandas
6
+ pillow