Spaces:
Runtime error
Runtime error
mindset gospel
commited on
Commit
·
d2cc753
1
Parent(s):
757ef56
- app.py +1 -1
- model.pkl → saved_model/model.pkl +0 -0
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from fastai.vision.all import *
|
| 3 |
import skimage
|
| 4 |
|
| 5 |
-
learn = load_learner('model.pkl')
|
| 6 |
|
| 7 |
labels = learn.dls.vocab
|
| 8 |
def predict(img):
|
|
|
|
| 2 |
from fastai.vision.all import *
|
| 3 |
import skimage
|
| 4 |
|
| 5 |
+
learn = load_learner('saved_model/model.pkl')
|
| 6 |
|
| 7 |
labels = learn.dls.vocab
|
| 8 |
def predict(img):
|
model.pkl → saved_model/model.pkl
RENAMED
|
File without changes
|