lugiiing commited on
Commit
db6e2cf
1 Parent(s): a2c0274

change app

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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