tianyilexi commited on
Commit
f9573e3
·
1 Parent(s): 3130661

fix examples attempt 3

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ plt = platform.system()
8
  if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
9
 
10
  learn = load_learner('model.pkl')
11
- examples = [PILImage.create(str(x)) for x in get_image_files('images')]
12
 
13
  labels = learn.dls.vocab
14
  def predict(img):
 
8
  if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
9
 
10
  learn = load_learner('model.pkl')
11
+ examples = [str(x) for x in get_image_files('images')]
12
 
13
  labels = learn.dls.vocab
14
  def predict(img):