Spaces:
Runtime error
Runtime error
ayoni02
commited on
Commit
·
0d26411
1
Parent(s):
798dbbe
changes
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ def mod(df, user, items):
|
|
33 |
return recommendations
|
34 |
|
35 |
def gl(num):
|
36 |
-
data = opendata('
|
37 |
-
books = opendata('
|
38 |
mapping_dict = books.set_index("ISBN")["Book-Title"].to_dict()
|
39 |
train, test = split(data)
|
40 |
users=test['User-ID'].tolist()
|
|
|
33 |
return recommendations
|
34 |
|
35 |
def gl(num):
|
36 |
+
data = opendata('BX-Book-Ratings.csv', nrows=20_000)
|
37 |
+
books = opendata('BX_Books.csv', nrows=None)
|
38 |
mapping_dict = books.set_index("ISBN")["Book-Title"].to_dict()
|
39 |
train, test = split(data)
|
40 |
users=test['User-ID'].tolist()
|