Spaces:
Runtime error
Runtime error
Mohammed Albrayh
commited on
Commit
·
9c7562d
1
Parent(s):
dba80eb
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from fastai.vision.all import *
|
|
4 |
import pathlib
|
5 |
plt = platform.system()
|
6 |
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
|
|
7 |
|
8 |
|
9 |
learn = load_learner('SaudiLandmarkClassifier.pkl')
|
|
|
4 |
import pathlib
|
5 |
plt = platform.system()
|
6 |
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
7 |
+
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
8 |
|
9 |
|
10 |
learn = load_learner('SaudiLandmarkClassifier.pkl')
|