reshane commited on
Commit
74a05b7
·
1 Parent(s): f0403f0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def classify_image(img):
17
  pred,idx,probs = learn.predict(img)
18
  return dict(zip(categories, map(float,probs)))
19
 
20
- image = gr.Image(shape=(192, 192))
21
  label = gr.Label()
22
  examples = ["pepe.jpg"]
23
 
 
17
  pred,idx,probs = learn.predict(img)
18
  return dict(zip(categories, map(float,probs)))
19
 
20
+ image = gr.Image(type="filepath", width=192, height=192)
21
  label = gr.Label()
22
  examples = ["pepe.jpg"]
23