azarovalex commited on
Commit
0ed5d12
1 Parent(s): 8edf18f
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  from fastai.vision.all import *
2
  import gradio as gr
3
 
 
 
4
  learn = load_learner('model.pkl')
5
  categories = ('Dog', 'Cat')
6
 
 
1
  from fastai.vision.all import *
2
  import gradio as gr
3
 
4
+ def is_cat(x): return x[0].isupper()
5
+
6
  learn = load_learner('model.pkl')
7
  categories = ('Dog', 'Cat')
8