Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ananya173147 committed Oct 9, 2023
1 parent 452d93b commit e8d5e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/prediction_scripts/item_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def recommend_for_new_user(user_rating):
"""
Generates a list of recommended movie titles for a new user based on their ratings.
"""
ratings = pd.read_csv(os.path.join(project_dir, "data", "ratings.csv"))
# ratings = pd.read_csv(os.path.join(project_dir, "data", "ratings.csv"))
movies = pd.read_csv(os.path.join(project_dir, "data", "movies.csv"))
user = pd.DataFrame(user_rating)
user_movie_id = movies[movies["title"].isin(user["title"])]
Expand Down
2 changes: 1 addition & 1 deletion Code/recommenderapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def feedback():
Handles user feedback submission and mails the results.
"""
data = json.loads(request.data)
user_email = "11rishi.singhal@gmail.com"
user_email = "ananyamantravadi@gmail.com"
send_email_to_user(user_email, beautify_feedback_data(data))
return data

Expand Down

0 comments on commit e8d5e3b

Please sign in to comment.