Spaces:
Running
Running
file path errors
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from fastai.vision.all import *
|
|
5 |
import pathlib
|
6 |
plt = platform.system()
|
7 |
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
|
|
8 |
|
9 |
root = os.path.dirname(__file__)
|
10 |
|
|
|
5 |
import pathlib
|
6 |
plt = platform.system()
|
7 |
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
8 |
+
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
9 |
|
10 |
root = os.path.dirname(__file__)
|
11 |
|