Spaces:
Runtime error
Runtime error
Resolved Other Errors
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ movie_embeddings = model.get_layer("item_embeddings").get_weights()[0]
|
|
| 96 |
# Find Related Movies
|
| 97 |
movie_titles = []
|
| 98 |
|
| 99 |
-
for uniq_mov_id in
|
| 100 |
movie_title = get_movie_title_by_id(uniq_mov_id)
|
| 101 |
movie_titles.append(movie_title)
|
| 102 |
|
|
|
|
| 96 |
# Find Related Movies
|
| 97 |
movie_titles = []
|
| 98 |
|
| 99 |
+
for uniq_mov_id in list(set(movies_graph.nodes)):
|
| 100 |
movie_title = get_movie_title_by_id(uniq_mov_id)
|
| 101 |
movie_titles.append(movie_title)
|
| 102 |
|