v4
Browse files- app.py +2 -0
- requirements.txt +2 -0
app.py
CHANGED
@@ -2,6 +2,8 @@ from fastai.vision.all import *
|
|
2 |
|
3 |
import gradio as gr
|
4 |
|
|
|
|
|
5 |
learn = load_learner('model.pkl')
|
6 |
|
7 |
labels = learn.dls.vocab
|
|
|
2 |
|
3 |
import gradio as gr
|
4 |
|
5 |
+
def is_cat(x): return x[0].isupper()
|
6 |
+
|
7 |
learn = load_learner('model.pkl')
|
8 |
|
9 |
labels = learn.dls.vocab
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
fastai
|
2 |
+
scikit-image
|