srini98 commited on
Commit
1385ab6
1 Parent(s): f563738

app fix path

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,5 +1,11 @@
1
  from fastai.vision.all import *
2
  import gradio as gr
 
 
 
 
 
 
3
 
4
 
5
  learn = load_learner("export.pkl" )
 
1
  from fastai.vision.all import *
2
  import gradio as gr
3
+ import pathlib
4
+
5
+
6
+ plt = platform.system()
7
+ if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
8
+
9
 
10
 
11
  learn = load_learner("export.pkl" )