Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ st.markdown("""
|
|
92 |
color: #ffffff; /* White */
|
93 |
}
|
94 |
.stTextInput::placeholder, .stTextArea::placeholder {
|
95 |
-
color:
|
96 |
}
|
97 |
.stSidebar {
|
98 |
background-color: #000000; /* Royal Black */
|
@@ -126,6 +126,7 @@ st.markdown("""
|
|
126 |
</style>
|
127 |
""", unsafe_allow_html=True)
|
128 |
|
|
|
129 |
st.sidebar.title("Tasks")
|
130 |
tasks = [
|
131 |
"📚 Personalized Learning Assistant",
|
@@ -136,7 +137,6 @@ tasks = [
|
|
136 |
"🧠 Mental Health Check-In"
|
137 |
]
|
138 |
|
139 |
-
|
140 |
selected_task = st.sidebar.radio("Select a task", tasks)
|
141 |
|
142 |
# Main layout based on selected task
|
@@ -194,7 +194,6 @@ elif selected_task == "Mental Health Check-In":
|
|
194 |
response = mental_health_check_in(feelings)
|
195 |
st.write(response)
|
196 |
|
197 |
-
|
198 |
# Footer
|
199 |
st.markdown("""
|
200 |
<div class="footer">
|
|
|
92 |
color: #ffffff; /* White */
|
93 |
}
|
94 |
.stTextInput::placeholder, .stTextArea::placeholder {
|
95 |
+
color: #d3d3d3; /* Light Gray */
|
96 |
}
|
97 |
.stSidebar {
|
98 |
background-color: #000000; /* Royal Black */
|
|
|
126 |
</style>
|
127 |
""", unsafe_allow_html=True)
|
128 |
|
129 |
+
# Sidebar with task selection
|
130 |
st.sidebar.title("Tasks")
|
131 |
tasks = [
|
132 |
"📚 Personalized Learning Assistant",
|
|
|
137 |
"🧠 Mental Health Check-In"
|
138 |
]
|
139 |
|
|
|
140 |
selected_task = st.sidebar.radio("Select a task", tasks)
|
141 |
|
142 |
# Main layout based on selected task
|
|
|
194 |
response = mental_health_check_in(feelings)
|
195 |
st.write(response)
|
196 |
|
|
|
197 |
# Footer
|
198 |
st.markdown("""
|
199 |
<div class="footer">
|