aliesal12 commited on
Commit
dac4b84
1 Parent(s): 60b4a66

test posix

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,10 +5,10 @@ import pathlib
5
 
6
  def is_cat(x): return x[0].isupper()
7
 
8
- temp = pathlib.PosixPath
9
- pathlib.PosixPath = pathlib.WindowsPath
10
  learn=load_learner('model.pkl')
11
- pathlib.PosixPath=temp
12
 
13
  categories = ('Dog', 'Cat')
14
  def classify_image(img):
 
5
 
6
  def is_cat(x): return x[0].isupper()
7
 
8
+ #temp = pathlib.PosixPath
9
+ #pathlib.PosixPath = pathlib.WindowsPath
10
  learn=load_learner('model.pkl')
11
+ #pathlib.PosixPath=temp
12
 
13
  categories = ('Dog', 'Cat')
14
  def classify_image(img):