Anders Dahlen
commited on
Commit
·
aca5a5d
1
Parent(s):
73225ce
Added is cat
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
-
import
|
| 4 |
|
|
|
|
| 5 |
|
| 6 |
learn = load_learner('model.pkl')
|
| 7 |
labels = learn.dls.vocab
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from fastai.vision.all import *
|
| 3 |
+
import skimageg
|
| 4 |
|
| 5 |
+
def is_cat(x): return x[0].isupper()
|
| 6 |
|
| 7 |
learn = load_learner('model.pkl')
|
| 8 |
labels = learn.dls.vocab
|