mirsaid5455
commited on
Commit
•
c74b6e8
1
Parent(s):
b973f15
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ import pathlib
|
|
6 |
|
7 |
|
8 |
# Temporary fix for pathlib.PosixPath on Windows
|
9 |
-
temp = pathlib.PosixPath
|
10 |
-
pathlib.PosixPath = pathlib.WindowsPath
|
11 |
|
12 |
# Load the Fastai Learner model
|
13 |
learn = load_learner('model.pkl')
|
|
|
6 |
|
7 |
|
8 |
# Temporary fix for pathlib.PosixPath on Windows
|
9 |
+
# temp = pathlib.PosixPath
|
10 |
+
# pathlib.PosixPath = pathlib.WindowsPath
|
11 |
|
12 |
# Load the Fastai Learner model
|
13 |
learn = load_learner('model.pkl')
|