pkarthik15 commited on
Commit
c187be0
1 Parent(s): 8a685b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def is_cat(x):
7
 
8
  learner = load_learner('model.pkl')
9
 
10
- categories = learner.dls.vocab
11
 
12
  def classify_image(img):
13
  pred, idx, probs = learner.predict(img)
 
7
 
8
  learner = load_learner('model.pkl')
9
 
10
+ categories = ('cat', 'dog')
11
 
12
  def classify_image(img):
13
  pred, idx, probs = learner.predict(img)