Spaces:
Running
Running
fix recom system
Browse files
pages/recommendation_system.py
CHANGED
@@ -95,7 +95,6 @@ def recommend(movie_name, nb):
|
|
95 |
def fetch_poster(movie_id):
|
96 |
response = requests.get(f'https://api.themoviedb.org/3/movie/{movie_id}?api_key={api_key}')
|
97 |
data = response.json()
|
98 |
-
st.markdown(data)
|
99 |
return "https://image.tmdb.org/t/p/w500/" + data["poster_path"]
|
100 |
|
101 |
|
|
|
95 |
def fetch_poster(movie_id):
|
96 |
response = requests.get(f'https://api.themoviedb.org/3/movie/{movie_id}?api_key={api_key}')
|
97 |
data = response.json()
|
|
|
98 |
return "https://image.tmdb.org/t/p/w500/" + data["poster_path"]
|
99 |
|
100 |
|