Spaces:
Sleeping
Sleeping
Commit ·
eef7700
1
Parent(s): ba0661b
fix: windows path
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import pathlib
|
|
| 4 |
|
| 5 |
# Fix for windows path run time issue
|
| 6 |
temp = pathlib.PosixPath
|
| 7 |
-
pathlib.
|
| 8 |
|
| 9 |
# Label function
|
| 10 |
def is_cat(x:string): return x[0].isupper()
|
|
|
|
| 4 |
|
| 5 |
# Fix for windows path run time issue
|
| 6 |
temp = pathlib.PosixPath
|
| 7 |
+
pathlib.WindowsPath = pathlib.PosixPath
|
| 8 |
|
| 9 |
# Label function
|
| 10 |
def is_cat(x:string): return x[0].isupper()
|