laylabitar commited on
Commit
fd8e66b
2 Parent(s): 749604d 2b0e8ac

Merge branch 'main' of https://huggingface.co/spaces/laylabitar/ECG_Predictor

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -11,12 +11,9 @@ def ECG(x):
11
  return x[0].isupper()
12
 
13
  # %% ../app2.ipynb 4
14
- import pathlib
15
- temp = pathlib.PosixPath
16
- pathlib.PosixPath = pathlib.WindowsPath
17
- from pathlib import Path
18
 
19
- learn = load_learner(str(Path('model2.pkl')))
 
20
 
21
 
22
  # %% ../app2.ipynb 6
 
11
  return x[0].isupper()
12
 
13
  # %% ../app2.ipynb 4
 
 
 
 
14
 
15
+
16
+ learn = load_learner('model2.pkl')
17
 
18
 
19
  # %% ../app2.ipynb 6