Spaces:
Sleeping
Sleeping
classifier
Browse files
app.py
CHANGED
|
@@ -2,6 +2,8 @@ import gradio as gr
|
|
| 2 |
from fastai.vision.all import *
|
| 3 |
import skimage
|
| 4 |
|
|
|
|
|
|
|
| 5 |
learn = load_learner('export.pkl')
|
| 6 |
|
| 7 |
labels = learn.dls.vocab
|
|
|
|
| 2 |
from fastai.vision.all import *
|
| 3 |
import skimage
|
| 4 |
|
| 5 |
+
def is_cat(x): return x[0].isupper()
|
| 6 |
+
|
| 7 |
learn = load_learner('export.pkl')
|
| 8 |
|
| 9 |
labels = learn.dls.vocab
|