Salman Naqvi commited on
Commit
b3324d1
1 Parent(s): c2763a7

Switched the categories order so correct labels are output.

Browse files
Files changed (2) hide show
  1. app.ipynb +0 -0
  2. app.py +1 -1
app.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
app.py CHANGED
@@ -11,7 +11,7 @@ import gradio as gr
11
  learner = load_learner('model/export.pkl')
12
 
13
  # %% app.ipynb 9
14
- cats = ('Grizzly Bear', 'Black Bear', 'Teddy Bear',)
15
 
16
  def classify_img(img):
17
  preds, idx, probs = learner.predict(img)
 
11
  learner = load_learner('model/export.pkl')
12
 
13
  # %% app.ipynb 9
14
+ cats = ('Black Bear', 'Grizzly Bear', 'Teddy Bear',)
15
 
16
  def classify_img(img):
17
  preds, idx, probs = learner.predict(img)