From 0760265e3ee8ce2f2eb1696f0ab57f208e4c47f9 Mon Sep 17 00:00:00 2001 From: rishi2019194 <58341663+rishi2019194@users.noreply.github.com> Date: Mon, 16 Oct 2023 14:09:16 -0400 Subject: [PATCH] Added genre tags, imdb_link for predicted movies --- src/prediction_scripts/item_based.py | 2 +- src/recommenderapp/app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prediction_scripts/item_based.py b/src/prediction_scripts/item_based.py index 9ed3bf33e..c4d4b43c0 100644 --- a/src/prediction_scripts/item_based.py +++ b/src/prediction_scripts/item_based.py @@ -51,4 +51,4 @@ def recommend_for_new_user(user_rating): return list(join_movies_and_recommendations["title"][:201]), \ list(join_movies_and_recommendations["genres"][:201]), \ - list(join_movies_and_recommendations["imbd_id"][:201]) + list(join_movies_and_recommendations["imdb_id"][:201]) \ No newline at end of file diff --git a/src/recommenderapp/app.py b/src/recommenderapp/app.py index f071c6e11..abb68abe4 100644 --- a/src/recommenderapp/app.py +++ b/src/recommenderapp/app.py @@ -27,7 +27,7 @@ def landing_page(): """ Renders the landing page. """ - return render_template("landing_page.html") + return render_template("search_page.html") @app.route("/get_started", methods=["POST"])