Spaces:
Sleeping
Sleeping
ooferdoodles
commited on
Commit
•
ab4921f
1
Parent(s):
3bef921
save me
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
|
2 |
-
|
3 |
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
|
8 |
from fastai.vision.all import *
|
9 |
import gradio as gr
|
|
|
1 |
+
import platform
|
2 |
+
import pathlib
|
3 |
|
4 |
+
if platform.system() == "Windows":
|
5 |
+
temp = pathlib.PosixPath
|
6 |
+
pathlib.PosixPath = pathlib.WindowsPath
|
7 |
|
8 |
from fastai.vision.all import *
|
9 |
import gradio as gr
|