lopesdri commited on
Commit
b64993a
·
1 Parent(s): 7e9191b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,9 @@ __all__ = ['learn', 'categories', 'image', 'label', 'examples', 'intf', 'classif
7
  from fastai.vision.all import *
8
  import gradio as gr
9
 
 
 
 
10
  # %% ../drive/MyDrive/Colab Notebooks/cats_vs_dogs.ipynb 12
11
  learn = load_learner('pets.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
+
13
  # %% ../drive/MyDrive/Colab Notebooks/cats_vs_dogs.ipynb 12
14
  learn = load_learner('pets.pkl')
15