mizoru commited on
Commit
6ef206a
·
1 Parent(s): d91bbe5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ labels = learn.dls.vocab
15
 
16
  def predict(path):
17
 
18
- pred,pred_idx,probs = learn.predict(path)
19
 
20
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
21
 
 
15
 
16
  def predict(path):
17
 
18
+ pred,pred_idx,probs = learn.predict(str(path))
19
 
20
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
21