Spaces:
Sleeping
Sleeping
Nurbek-web
commited on
Commit
•
07c831e
1
Parent(s):
e00f5f2
Path()
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import pathlib
|
|
8 |
plt = platform.system()
|
9 |
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
10 |
|
11 |
-
learn_inf = load_learner('export.pkl')
|
12 |
|
13 |
categories = ("maxi", "kairat")
|
14 |
|
|
|
8 |
plt = platform.system()
|
9 |
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
10 |
|
11 |
+
learn_inf = load_learner(Path('export.pkl'))
|
12 |
|
13 |
categories = ("maxi", "kairat")
|
14 |
|