gowtham58 commited on
Commit
20b46d3
·
verified ·
1 Parent(s): e30b75a

Update app.py

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