Lauren Mitchell commited on
Commit
0004733
1 Parent(s): c364ca9

changed cat and dog labels

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +1 -1
.DS_Store DELETED
Binary file (6.15 kB)
 
app.py CHANGED
@@ -6,7 +6,7 @@ def is_cat(x): return x[0].isupper()
6
 
7
  learn = load_learner('model.pkl')
8
 
9
- categories = ('Dog', 'Cat')
10
 
11
  def classify_image(img):
12
  pred, idx, probs = learn.predict(img)
 
6
 
7
  learn = load_learner('model.pkl')
8
 
9
+ categories = ('Cat', 'Dog')
10
 
11
  def classify_image(img):
12
  pred, idx, probs = learn.predict(img)