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