Spaces:
Build error
Build error
Commit
·
1025995
1
Parent(s):
0acbe33
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,9 @@ def get_y(r):
|
|
| 24 |
number = ''.join(filter(str.isdigit, str(r)))
|
| 25 |
return train_y[int(number)]
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
with open('collaborativefiltering.pkl', 'rb') as f:
|
| 29 |
learn = pickle.load(f)
|
|
|
|
| 24 |
number = ''.join(filter(str.isdigit, str(r)))
|
| 25 |
return train_y[int(number)]
|
| 26 |
|
| 27 |
+
def persistent_load(persid):
|
| 28 |
+
return None
|
| 29 |
+
|
| 30 |
|
| 31 |
with open('collaborativefiltering.pkl', 'rb') as f:
|
| 32 |
learn = pickle.load(f)
|