Verocayden commited on
Commit
e9dbfe6
·
verified ·
1 Parent(s): 230d9a8

Removed argument in gr.Image()

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def classify_image(img):
16
  pred, idx, probs = learn.predict(img)
17
  return dict(zip(categories, map(float, probs)))
18
 
19
- image = gr.Image(shape=(192, 192))
20
  label = gr.Label()
21
 
22
  examples = ['dog.jpg', 'cat.jpg']
 
16
  pred, idx, probs = learn.predict(img)
17
  return dict(zip(categories, map(float, probs)))
18
 
19
+ image = gr.Image()
20
  label = gr.Label()
21
 
22
  examples = ['dog.jpg', 'cat.jpg']