Guilherme commited on
Commit
22183a3
1 Parent(s): d572e7a

adding model try 6

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