Spaces:
Sleeping
Sleeping
change appearance of page
Browse files
pages/recommendation_system.py
CHANGED
@@ -32,9 +32,11 @@ st.markdown("""There are two methods to build recommendation systems:
|
|
32 |
st.markdown(" ")
|
33 |
st.markdown(" ")
|
34 |
|
35 |
-
_, col_img, _ = st.columns(spec=[0.2,0.6,0.2])
|
36 |
-
with col_img:
|
37 |
-
|
|
|
|
|
38 |
|
39 |
st.markdown(" ")
|
40 |
|
@@ -98,8 +100,8 @@ def fetch_poster(movie_id):
|
|
98 |
if select_usecase == "Movie recommendation system 📽️":
|
99 |
|
100 |
colors = ["#8ef", "#faa", "#afa", "#fea", "#8ef","#afa"]
|
101 |
-
|
102 |
-
api_key = os.environ["MOVIE_RECOM_API"]
|
103 |
|
104 |
# Load data
|
105 |
path_data = r"data/movies"
|
|
|
32 |
st.markdown(" ")
|
33 |
st.markdown(" ")
|
34 |
|
35 |
+
# _, col_img, _ = st.columns(spec=[0.2,0.6,0.2])
|
36 |
+
# with col_img:
|
37 |
+
# st.image("images/rs.png")
|
38 |
+
|
39 |
+
st.image("images/rs.png")
|
40 |
|
41 |
st.markdown(" ")
|
42 |
|
|
|
100 |
if select_usecase == "Movie recommendation system 📽️":
|
101 |
|
102 |
colors = ["#8ef", "#faa", "#afa", "#fea", "#8ef","#afa"]
|
103 |
+
api_key = st.secrets["recommendation_system"]["key"]
|
104 |
+
#api_key = os.environ["MOVIE_RECOM_API"]
|
105 |
|
106 |
# Load data
|
107 |
path_data = r"data/movies"
|