adarksky commited on
Commit
4ea0ed0
1 Parent(s): 00b88ad
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def classify_image(img):
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']
20
  interface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
14
  learn = load_learner('model.pkl')
15
 
16
  image = gr.Image(height=192, width=192)
17
+ label = gr.Label()
18
 
19
  examples = ['giant_0.jpg', 'red_0.jpg', 'giant_1.jpg', 'red_1.jpg']
20
  interface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)