WalkerSpace commited on
Commit
1e52fd7
·
verified ·
1 Parent(s): 0613219

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from fastai.learner import load_learner
5
  learn = load_learner('model.pkl')
6
 
7
  labels = learn.dls.vocab
8
-
9
 
10
  def predict(img):
11
  img = PILImage.create(img)
 
5
  learn = load_learner('model.pkl')
6
 
7
  labels = learn.dls.vocab
8
+ def is_cat(x): return x[0].isupper()
9
 
10
  def predict(img):
11
  img = PILImage.create(img)