Posix again, again.
Browse files
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):
|