Spaces:
Runtime error
Runtime error
MohammedAlakhras
commited on
Commit
•
87e5c74
1
Parent(s):
aadd294
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
# AUTOGENERATED! DO NOT EDIT! File to edit: . (unless otherwise specified).
|
2 |
|
3 |
__all__ = ['is_cat', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
4 |
-
|
5 |
import pathlib
|
6 |
plt = platform.system()
|
7 |
-
if plt == 'Windows': pathlib.
|
8 |
|
9 |
# Cell
|
10 |
from fastai.vision.all import *
|
|
|
1 |
# AUTOGENERATED! DO NOT EDIT! File to edit: . (unless otherwise specified).
|
2 |
|
3 |
__all__ = ['is_cat', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
|
4 |
+
import platform
|
5 |
import pathlib
|
6 |
plt = platform.system()
|
7 |
+
if plt == 'Windows': pathlib.WindowsPath = pathlib.PosixPath
|
8 |
|
9 |
# Cell
|
10 |
from fastai.vision.all import *
|