Solab commited on
Commit
c5fe803
·
1 Parent(s): 0ed0b1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ def is_cat(x): return x[0].isupper()
5
 
6
  learn = load_learner('model.pkl')
7
 
8
- Categories = ('Dog', 'Cat')
9
  def predict(img):
10
  img = PILImage.create(img)
11
  pred,pred_idx,probs = learn.predict(img)
 
5
 
6
  learn = load_learner('model.pkl')
7
 
8
+ categories = ('Dog', 'Cat')
9
  def predict(img):
10
  img = PILImage.create(img)
11
  pred,pred_idx,probs = learn.predict(img)