nishantguvvada
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,8 @@ movies_list=movies['title'].values
|
|
16 |
|
17 |
st.header("Movie Recommender System")
|
18 |
|
|
|
|
|
19 |
import streamlit.components.v1 as components
|
20 |
|
21 |
imageCarouselComponent = components.declare_component("image-carousel-component", path="frontend/public")
|
@@ -55,7 +57,7 @@ def recommend(movie):
|
|
55 |
|
56 |
|
57 |
|
58 |
-
if st.button("Show
|
59 |
movie_name, movie_poster = recommend(selectvalue)
|
60 |
col1,col2,col3,col4,col5=st.columns(5)
|
61 |
with col1:
|
|
|
16 |
|
17 |
st.header("Movie Recommender System")
|
18 |
|
19 |
+
st.text('The recommendation system is a content filtering system. Cosine similarity is used as a measure of closeness')
|
20 |
+
|
21 |
import streamlit.components.v1 as components
|
22 |
|
23 |
imageCarouselComponent = components.declare_component("image-carousel-component", path="frontend/public")
|
|
|
57 |
|
58 |
|
59 |
|
60 |
+
if st.button("Show Recommendations"):
|
61 |
movie_name, movie_poster = recommend(selectvalue)
|
62 |
col1,col2,col3,col4,col5=st.columns(5)
|
63 |
with col1:
|