rpa45 commited on
Commit
9382292
1 Parent(s): 30c415e
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,11 +1,11 @@
1
  import fastai.vision.all as faiv
2
- import pathlib
3
  from pathlib import Path
4
  import gradio as gr
5
 
6
  # make this work on Windows
7
- temp = pathlib.PosixPath
8
- pathlib.PosixPath = pathlib.WindowsPath
9
 
10
  # load model
11
  learn = faiv.load_learner('aih_model.pkl')
 
1
  import fastai.vision.all as faiv
2
+ # import pathlib
3
  from pathlib import Path
4
  import gradio as gr
5
 
6
  # make this work on Windows
7
+ #temp = pathlib.PosixPath
8
+ #pathlib.PosixPath = pathlib.WindowsPath
9
 
10
  # load model
11
  learn = faiv.load_learner('aih_model.pkl')