igalilea commited on
Commit
72e5463
·
1 Parent(s): 8832f39

No se había exportado la función is_cat()

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -7,6 +7,8 @@ __all__ = ['learn', 'categories', 'image', 'label', 'intf', 'classify_image']
7
  from fastai.vision.all import *
8
  import gradio as gr
9
 
 
 
10
  # %% ../drive/MyDrive/Colab Notebooks/app.ipynb 4
11
  learn = load_learner('model.pkl')
12
 
 
7
  from fastai.vision.all import *
8
  import gradio as gr
9
 
10
+ def is_cat(x): return x[0].isupper()
11
+
12
  # %% ../drive/MyDrive/Colab Notebooks/app.ipynb 4
13
  learn = load_learner('model.pkl')
14