9line
Browse files
app.py
CHANGED
@@ -8,10 +8,6 @@ import pathlib
|
|
8 |
plt = platform.system()
|
9 |
if plt == 'Linux': pathlib.PosixPath = pathlib.WindowsPath
|
10 |
|
11 |
-
# Temporary fix for pathlib.PosixPath on Windows
|
12 |
-
# temp = pathlib.PosixPath
|
13 |
-
# pathlib.PosixPath = pathlib.WindowsPath
|
14 |
-
|
15 |
# Load the Fastai Learner model
|
16 |
learn = load_learner('model.pkl')
|
17 |
learn_xray = load_learner("xraydet.pkl")
|
|
|
8 |
plt = platform.system()
|
9 |
if plt == 'Linux': pathlib.PosixPath = pathlib.WindowsPath
|
10 |
|
|
|
|
|
|
|
|
|
11 |
# Load the Fastai Learner model
|
12 |
learn = load_learner('model.pkl')
|
13 |
learn_xray = load_learner("xraydet.pkl")
|