Spaces:
Build error
Build error
tejasnavada
commited on
Commit
·
d98c8b5
1
Parent(s):
0ebf6e8
fix windowsPath
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import pathlib
|
|
| 4 |
|
| 5 |
|
| 6 |
plt = platform.system()
|
| 7 |
-
if plt
|
| 8 |
|
| 9 |
|
| 10 |
learn = load_learner('number_100.pkl')
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
plt = platform.system()
|
| 7 |
+
if plt != 'Windows': pathlib.WindowsPath = pathlib.PosixPath
|
| 8 |
|
| 9 |
|
| 10 |
learn = load_learner('number_100.pkl')
|