Spaces:
Sleeping
Sleeping
Commit
·
598d4b0
1
Parent(s):
789271b
Upload app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from fastai.vision.all import *
|
|
| 3 |
import skimage
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
-
learn = load_learner(
|
| 7 |
|
| 8 |
labels = learn.dls.vocab
|
| 9 |
def predict(img):
|
|
|
|
| 3 |
import skimage
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
+
learn = load_learner('export.pkl')
|
| 7 |
|
| 8 |
labels = learn.dls.vocab
|
| 9 |
def predict(img):
|