zhangzonglin1 commited on
Commit
55daf38
·
1 Parent(s): de9f96d

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,8 +5,7 @@
5
  #from fastai.vision.widgets import *
6
  from huggingface_hub import from_pretrained_fastai
7
 
8
- path = Path()
9
- learner = from_pretrained_fastai(path/"export.pkl")
10
  #learn = learner.load(path/"export.pkl")
11
 
12
 
 
5
  #from fastai.vision.widgets import *
6
  from huggingface_hub import from_pretrained_fastai
7
 
8
+ learner = from_pretrained_fastai("./export.pkl")
 
9
  #learn = learner.load(path/"export.pkl")
10
 
11