Skip to content

Commit

Permalink
Added default wide mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohwit authored Feb 14, 2023
1 parent 052911d commit 3c8e801
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

similarity = pickle.load(open('similarity.pkl', 'rb'))

st.set_page_config(page_title="Movies Recommendation", page_icon="🍿", layout="wide")

def fetch_poster(id):
response = requests.get("https://api.themoviedb.org/3/movie/{}?api_key=b25587cadc014bbcf38f0b9c3d577fb0".format(id))
Expand All @@ -29,7 +30,7 @@ def recommend(selected_movie, movies_df):
return recommended_movies , recommended_movies_poster


st.title('Movie Recommender System')
st.title('Movie Recommender System 🍿👀🎞')
selected_movie = st.selectbox('Select your movie', movie_list)
if st.button('Recommend'):
names, posters = recommend(selected_movie, movies_df)
Expand Down

0 comments on commit 3c8e801

Please sign in to comment.