Spaces:
Runtime error
Runtime error
Alex Strick van Linschoten
commited on
Commit
·
3a3492c
1
Parent(s):
abe0fc0
fix var definition for learner
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
|
5 |
-
|
6 |
|
7 |
labels = learn.dls.vocab
|
8 |
|
|
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
|
5 |
+
learn = load_learner("model.pkl")
|
6 |
|
7 |
labels = learn.dls.vocab
|
8 |
|