ccdle12 commited on
Commit
da62858
·
1 Parent(s): 96bebdc

fix ordering of labels

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ image = gr.Image(type='pil', height=192, width=192)
7
  label = gr.Label()
8
  examples = ['grizzly.jpg', 'black-bear.jpg', 'teddy-bear.jpg']
9
 
10
- categories = ('Grizzly Bear', 'Black Bear', 'Teddy Bear')
11
 
12
  def classify_image(img):
13
  pred, idx, probs = learn.predict(img)
 
7
  label = gr.Label()
8
  examples = ['grizzly.jpg', 'black-bear.jpg', 'teddy-bear.jpg']
9
 
10
+ categories = ('Black Bear', 'Grizzly Bear', 'Teddy Bear')
11
 
12
  def classify_image(img):
13
  pred, idx, probs = learn.predict(img)