PeterTP commited on
Commit
e08c287
·
1 Parent(s): 2a2577e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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