diff --git a/recommendation_engine.py b/recommendation_engine.py index 6d9546d..fd4e055 100644 --- a/recommendation_engine.py +++ b/recommendation_engine.py @@ -105,7 +105,7 @@ class Engine: self.playlists, key=lambda playlist: -score[playlist['name']] ) - videos = playlists[:channels['globalKeywords']] + videos += playlists[:channels['globalKeywords']] playlists = playlists[channels['globalKeywords']:] # Count tags for the user count = defaultdict(lambda: 0)