Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -81,13 +81,14 @@ def get_well_being_suggestions(emotion):
|
|
81 |
|
82 |
# Streamlit UI
|
83 |
def main():
|
84 |
-
# Custom Styling for purple background
|
85 |
st.markdown("""
|
86 |
<style>
|
87 |
.stApp {
|
88 |
background-color: #6a0dad; /* Purple background */
|
89 |
background-size: cover;
|
90 |
background-position: center;
|
|
|
91 |
}
|
92 |
|
93 |
h1, h2, h3 {
|
@@ -145,13 +146,13 @@ def main():
|
|
145 |
if suggestions["links"]:
|
146 |
st.write("Useful Resources:")
|
147 |
for link in suggestions["links"]:
|
148 |
-
st.markdown(f"[{link}]({link})")
|
149 |
|
150 |
# Display video links
|
151 |
if suggestions["videos"]:
|
152 |
st.write("Relaxation Videos:")
|
153 |
for video in suggestions["videos"]:
|
154 |
-
st.markdown(f"[Watch here]({video})")
|
155 |
|
156 |
# Add a button for a summary
|
157 |
if st.button('Summary'):
|
|
|
81 |
|
82 |
# Streamlit UI
|
83 |
def main():
|
84 |
+
# Custom Styling for purple background and white text color
|
85 |
st.markdown("""
|
86 |
<style>
|
87 |
.stApp {
|
88 |
background-color: #6a0dad; /* Purple background */
|
89 |
background-size: cover;
|
90 |
background-position: center;
|
91 |
+
color: white; /* Set text color to white */
|
92 |
}
|
93 |
|
94 |
h1, h2, h3 {
|
|
|
146 |
if suggestions["links"]:
|
147 |
st.write("Useful Resources:")
|
148 |
for link in suggestions["links"]:
|
149 |
+
st.markdown(f"[{link}]({link})", unsafe_allow_html=True)
|
150 |
|
151 |
# Display video links
|
152 |
if suggestions["videos"]:
|
153 |
st.write("Relaxation Videos:")
|
154 |
for video in suggestions["videos"]:
|
155 |
+
st.markdown(f"[Watch here]({video})", unsafe_allow_html=True)
|
156 |
|
157 |
# Add a button for a summary
|
158 |
if st.button('Summary'):
|