Spaces:
Sleeping
Sleeping
Nurbek-web
commited on
Commit
•
6c2e9d5
1
Parent(s):
d01e3ab
Linux )
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ from fastbook import *
|
|
4 |
from fastai.vision.widgets import *
|
5 |
import gradio as gr
|
6 |
from pathlib import Path
|
7 |
-
import pathlib
|
8 |
-
|
9 |
-
if plt == '
|
10 |
|
11 |
learn_inf = load_learner(Path('export.pkl'))
|
12 |
|
|
|
4 |
from fastai.vision.widgets import *
|
5 |
import gradio as gr
|
6 |
from pathlib import Path
|
7 |
+
import pathlib
|
8 |
+
|
9 |
+
plt = platform.system() if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
10 |
|
11 |
learn_inf = load_learner(Path('export.pkl'))
|
12 |
|