faishaltm commited on
Commit
dc71159
·
1 Parent(s): 9d853d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- # learn = load_learner(path/'export.pkl')
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