Dagmar commited on
Commit
817fe63
1 Parent(s): f0a8865
Files changed (2) hide show
  1. app.py +2 -0
  2. requirements.txt +2 -0
app.py CHANGED
@@ -2,6 +2,8 @@ from fastai.vision.all import *
2
 
3
  import gradio as gr
4
 
 
 
5
  learn = load_learner('model.pkl')
6
 
7
  labels = learn.dls.vocab
 
2
 
3
  import gradio as gr
4
 
5
+ def is_cat(x): return x[0].isupper()
6
+
7
  learn = load_learner('model.pkl')
8
 
9
  labels = learn.dls.vocab
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ fastai
2
+ scikit-image