rama100 commited on
Commit
a2a7099
·
verified ·
1 Parent(s): 3b4e1c8

Fix image dimensions

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def classify_image(img):
14
 
15
  examples = ['handbag.jpg', 'shoes.png']
16
 
17
- image = gr.Image(shape=(200,200))
18
  label = gr.Label()
19
 
20
  interface =gr.Interface(fn = classify_image,
 
14
 
15
  examples = ['handbag.jpg', 'shoes.png']
16
 
17
+ image = gr.Image(height=200,width=200)
18
  label = gr.Label()
19
 
20
  interface =gr.Interface(fn = classify_image,