Skip to content

Commit

Permalink
merge: branch 'etl_branch' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fedepacher committed Jun 11, 2023
2 parents e5932c7 + 4db5198 commit 54e7c3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recommendation_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def recommendation(self, title=''):
Returns:
str: Dictionary with the movies recommended.
"""
movie_index = self._df_movies[self._df_movies['title'].str.lower() == title].index.values
movie_index = self._df_movies[self._df_movies['title'].str.lower() == title.lower()].index.values
if len(movie_index) > 0:
similarity_scores = cosine_similarity(self._tfidf_matrix[movie_index],
self._tfidf_matrix)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ python-dateutil
pytz
six
sniffio
starlette
starlette==0.27.0
typing_extensions
tzdata
uvicorn
Expand Down

0 comments on commit 54e7c3c

Please sign in to comment.