mpfoley73 commited on
Commit
e7d7520
1 Parent(s): b1fc623

Posix again, again.

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -22,6 +22,9 @@ import pathlib
22
  # learn = load_learner('dog_breed_classifier.pkl')
23
  # finally:
24
  # pathlib.PosixPath = posix_backup
 
 
 
25
 
26
  labels = learn.dls.vocab
27
  def predict(img):
 
22
  # learn = load_learner('dog_breed_classifier.pkl')
23
  # finally:
24
  # pathlib.PosixPath = posix_backup
25
+ #
26
+ # Uncomment this for Hugging Face
27
+ learn = load_learner('dog_breed_classifier.pkl')
28
 
29
  labels = learn.dls.vocab
30
  def predict(img):