elay018 commited on
Commit
ff27a42
1 Parent(s): 1222856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ import skimage
5
 
6
  path = Path('export.pkl')
7
  learn = load_learner(path)
 
8
 
9
  def predict(img):
10
  img = PILImage.create(img)
 
5
 
6
  path = Path('export.pkl')
7
  learn = load_learner(path)
8
+ labels = learn.dls.vocab
9
 
10
  def predict(img):
11
  img = PILImage.create(img)