adr commited on
Commit
d1ab4e2
1 Parent(s): 2427c60

added is_cat func

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  # import all the fastai stuff.
2
  from fastai.vision.all import *
3
 
 
 
4
  # load our model.
5
  learn = load_learner('model.pkl')
6
 
 
1
  # import all the fastai stuff.
2
  from fastai.vision.all import *
3
 
4
+ def is_cat(x): return x[0].isupper()
5
+
6
  # load our model.
7
  learn = load_learner('model.pkl')
8