Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
-
learn = load_learner('export.pkl')
|
5 |
|
6 |
#categories = ("strawberry", "blueberry", "raspberry", "cranberry", "mulberry", "other")
|
7 |
categories = learn.dls.vocab
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
|
4 |
+
learn = load_learner(Path('export.pkl'))
|
5 |
|
6 |
#categories = ("strawberry", "blueberry", "raspberry", "cranberry", "mulberry", "other")
|
7 |
categories = learn.dls.vocab
|