Caleb O'Leary commited on
Commit
6543fbc
·
1 Parent(s): 2a26551

missed func

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,9 +1,11 @@
1
  __all__ = ['is_cat', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
2
 
3
 
4
- import gradio as gr
5
  from fastai.vision.all import *
 
6
 
 
 
7
 
8
  learn = load_learner('model.pkl')
9
 
 
1
  __all__ = ['is_cat', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
2
 
3
 
 
4
  from fastai.vision.all import *
5
+ import gradio as gr
6
 
7
+ def is_cat(x):
8
+ return x[0].isupper()
9
 
10
  learn = load_learner('model.pkl')
11