Spaces:
Runtime error
Runtime error
change app
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
|
|
|
|
|
|
|
|
|
4 |
path = Path()
|
5 |
learn = load_learner('export.pkl')
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
|
4 |
+
import pathlib
|
5 |
+
plt = platform.system()
|
6 |
+
if plt == 'Windows': pathlib.PosixPath = pathlib.WindowsPath
|
7 |
+
|
8 |
path = Path()
|
9 |
learn = load_learner('export.pkl')
|
10 |
|