GovindMalhotra commited on
Commit
cad188d
·
1 Parent(s): cce1cb0

Removed shape argument from gradio

Browse files

Since it is being handled in the ela function

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def classify(img):
31
  pred,idx,probs = learn.predict(im)
32
  return dict(zip(categories, map(float,probs)))
33
 
34
- image = gr.Image(shape=(192,192))
35
  label = gr.Label()
36
  examples = ['lion_f.png', 'lion_r.png', 'potato_f.jpg']
37
 
 
31
  pred,idx,probs = learn.predict(im)
32
  return dict(zip(categories, map(float,probs)))
33
 
34
+ image = gr.Image()
35
  label = gr.Label()
36
  examples = ['lion_f.png', 'lion_r.png', 'potato_f.jpg']
37