tejasnavada commited on
Commit
d98c8b5
·
1 Parent(s): 0ebf6e8

fix windowsPath

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import pathlib
4
 
5
 
6
  plt = platform.system()
7
- if plt == 'Windows': pathlib.WindowsPath = pathlib.PosixPath
8
 
9
 
10
  learn = load_learner('number_100.pkl')
 
4
 
5
 
6
  plt = platform.system()
7
+ if plt != 'Windows': pathlib.WindowsPath = pathlib.PosixPath
8
 
9
 
10
  learn = load_learner('number_100.pkl')