pratikskarnik
commited on
Commit
•
64157b7
1
Parent(s):
e2a65a0
fixed app.py bug
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
|
|
|
|
|
|
|
|
4 |
|
5 |
learn = load_learner('export.pkl')
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
+
import pathlib
|
5 |
+
|
6 |
+
plt = platform.system()
|
7 |
+
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
8 |
|
9 |
learn = load_learner('export.pkl')
|
10 |
|