Spaces:
Runtime error
Runtime error
change app
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
|
4 |
-
path = Path()
|
5 |
-
learn = load_learner('
|
6 |
|
7 |
labels = learn.dls.vocab
|
8 |
def predict(img):
|
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
|
4 |
+
#path = Path()
|
5 |
+
learn = load_learner('./export.pkl')
|
6 |
|
7 |
labels = learn.dls.vocab
|
8 |
def predict(img):
|