Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def is_valid_isbn(isbn):
|
|
23 |
|
24 |
|
25 |
|
26 |
-
def load_data(ratings_path
|
27 |
ratings = pd.read_csv(ratings_path, encoding='cp1251', sep=';', on_bad_lines='skip')
|
28 |
ratings = ratings[ratings['Book-Rating'] != 0]
|
29 |
|
|
|
23 |
|
24 |
|
25 |
|
26 |
+
def load_data(ratings_path, books_path) -> Tuple[pd.DataFrame, pd.DataFrame]:
|
27 |
ratings = pd.read_csv(ratings_path, encoding='cp1251', sep=';', on_bad_lines='skip')
|
28 |
ratings = ratings[ratings['Book-Rating'] != 0]
|
29 |
|