Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ import pathlib
|
|
8 |
# Ensure that the correct Path object is used here based on the OS
|
9 |
# pathlib.PosixPath = pathlib.WindowsPath
|
10 |
# path = Path()
|
11 |
-
model_path = str(Path('export.pkl'))
|
12 |
-
learn = load_learner(model_path)
|
13 |
-
|
14 |
|
15 |
categories = ('black', 'grizzly', 'teddy')
|
16 |
|
|
|
8 |
# Ensure that the correct Path object is used here based on the OS
|
9 |
# pathlib.PosixPath = pathlib.WindowsPath
|
10 |
# path = Path()
|
11 |
+
# model_path = str(Path('export.pkl'))
|
12 |
+
# learn = load_learner(model_path)
|
13 |
+
learn = load_learner('bear.pkl')
|
14 |
|
15 |
categories = ('black', 'grizzly', 'teddy')
|
16 |
|