adarksky commited on
Commit
00b88ad
1 Parent(s): 5ff2477

-- gradio update maybe

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def classify_image(img):
13
 
14
  learn = load_learner('model.pkl')
15
 
16
- image = gr.inputs.Image(shape=(192, 192))
17
  label = gr.outputs.Label()
18
 
19
  examples = ['giant_0.jpg', 'red_0.jpg', 'giant_1.jpg', 'red_1.jpg']
 
13
 
14
  learn = load_learner('model.pkl')
15
 
16
+ image = gr.Image(height=192, width=192)
17
  label = gr.outputs.Label()
18
 
19
  examples = ['giant_0.jpg', 'red_0.jpg', 'giant_1.jpg', 'red_1.jpg']