Aryan Kumar
commited on
Commit
•
bbd8916
1
Parent(s):
25bfb8a
modified: app.ipynb
Browse files
app.ipynb
CHANGED
@@ -97,7 +97,7 @@
|
|
97 |
"#|export\n",
|
98 |
"import pathlib\n",
|
99 |
"plt = platform.system()\n",
|
100 |
-
"if plt == 'Windows': pathlib.
|
101 |
"learn = load_learner('export.pkl')"
|
102 |
]
|
103 |
},
|
|
|
97 |
"#|export\n",
|
98 |
"import pathlib\n",
|
99 |
"plt = platform.system()\n",
|
100 |
+
"if plt == 'Windows': pathlib.WindowsPath = pathlib.PosixPath\n",
|
101 |
"learn = load_learner('export.pkl')"
|
102 |
]
|
103 |
},
|
app.py
CHANGED
@@ -30,7 +30,7 @@ im
|
|
30 |
#|export
|
31 |
import pathlib
|
32 |
plt = platform.system()
|
33 |
-
if plt == 'Windows': pathlib.
|
34 |
learn = load_learner('export.pkl')
|
35 |
|
36 |
# %% [markdown]
|
|
|
30 |
#|export
|
31 |
import pathlib
|
32 |
plt = platform.system()
|
33 |
+
if plt == 'Windows': pathlib.WindowsPath = pathlib.PosixPath
|
34 |
learn = load_learner('export.pkl')
|
35 |
|
36 |
# %% [markdown]
|