Spaces:
Sleeping
Sleeping
shubhendu-ghosh
commited on
Commit
•
b423a6d
1
Parent(s):
181bd29
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,34 @@ import streamlit.components.v1 as components
|
|
4 |
import pandas
|
5 |
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
def recommend(movie):
|
9 |
index = movies[movies['title'] == movie].index[0]
|
@@ -104,6 +132,8 @@ if st.button("show movies"):
|
|
104 |
link = "[List of movies]("+ suggest(selected_genre)+")"
|
105 |
st.markdown(link, unsafe_allow_html=True)
|
106 |
|
|
|
|
|
107 |
|
108 |
|
109 |
|
|
|
4 |
import pandas
|
5 |
|
6 |
|
7 |
+
footer="""<style>
|
8 |
+
a:link , a:visited{
|
9 |
+
color: blue;
|
10 |
+
background-color: transparent;
|
11 |
+
text-decoration: underline;
|
12 |
+
}
|
13 |
+
|
14 |
+
a:hover, a:active {
|
15 |
+
color: red;
|
16 |
+
background-color: transparent;
|
17 |
+
text-decoration: underline;
|
18 |
+
}
|
19 |
+
|
20 |
+
.footer {
|
21 |
+
position: fixed;
|
22 |
+
left: 0;
|
23 |
+
bottom: 0;
|
24 |
+
width: 100%;
|
25 |
+
color: black;
|
26 |
+
text-align: center;
|
27 |
+
}
|
28 |
+
</style>
|
29 |
+
<div class="footer">
|
30 |
+
<p><a style='display: block; text-align: center;' href="https://www.linkedin.com/in/shubhendu-ghosh-423092205/" target="_blank">Developer</a></p>
|
31 |
+
</div>
|
32 |
+
"""
|
33 |
+
|
34 |
+
|
35 |
|
36 |
def recommend(movie):
|
37 |
index = movies[movies['title'] == movie].index[0]
|
|
|
132 |
link = "[List of movies]("+ suggest(selected_genre)+")"
|
133 |
st.markdown(link, unsafe_allow_html=True)
|
134 |
|
135 |
+
st.markdown(footer,unsafe_allow_html=True)
|
136 |
+
|
137 |
|
138 |
|
139 |
|