Spaces:
Sleeping
Sleeping
Nurbek-web
commited on
Commit
•
e1ee3c3
1
Parent(s):
6c2e9d5
syntax error <><><><>
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ import gradio as gr
|
|
6 |
from pathlib import Path
|
7 |
import pathlib
|
8 |
|
9 |
-
plt = platform.system()
|
|
|
10 |
|
11 |
learn_inf = load_learner(Path('export.pkl'))
|
12 |
|
|
|
6 |
from pathlib import Path
|
7 |
import pathlib
|
8 |
|
9 |
+
plt = platform.system()
|
10 |
+
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
11 |
|
12 |
learn_inf = load_learner(Path('export.pkl'))
|
13 |
|