Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ st.markdown("""
|
|
111 |
background-color: #000000; /* Royal Black */
|
112 |
color: #ffffff; /* White */
|
113 |
}
|
114 |
-
.
|
115 |
background-color: #000000; /* Royal Black */
|
116 |
color: #ffffff; /* White */
|
117 |
}
|
@@ -170,8 +170,7 @@ st.markdown("""
|
|
170 |
.footer i {
|
171 |
font-size: 22px;
|
172 |
}
|
173 |
-
.
|
174 |
-
.css-1n8h7zm .stTextInput::placeholder {
|
175 |
color: #000000; /* Royal Black */
|
176 |
font-weight: bold;
|
177 |
}
|
@@ -215,34 +214,29 @@ elif selected_task == "π Smart Document Summarizer":
|
|
215 |
st.write(st.session_state['responses']["smart_document_summarizer"])
|
216 |
|
217 |
elif selected_task == "π Interactive Study Planner":
|
218 |
-
exam_schedule = st.text_area("Enter your exam schedule
|
219 |
-
if st.button("
|
220 |
st.session_state['responses']["interactive_study_planner"] = interactive_study_planner(exam_schedule)
|
221 |
st.write(st.session_state['responses']["interactive_study_planner"])
|
222 |
|
223 |
elif selected_task == "β Real-Time Q&A Support":
|
224 |
-
question = st.text_input("
|
225 |
if st.button("Get Answer"):
|
226 |
st.session_state['responses']["real_time_qa_support"] = real_time_qa_support(question)
|
227 |
st.write(st.session_state['responses']["real_time_qa_support"])
|
228 |
|
229 |
elif selected_task == "π¬ Mental Health Check-In":
|
230 |
-
feelings = st.
|
231 |
if st.button("Get Advice"):
|
232 |
st.session_state['responses']["mental_health_check_in"] = mental_health_check_in(feelings)
|
233 |
st.write(st.session_state['responses']["mental_health_check_in"])
|
234 |
|
235 |
-
#
|
236 |
st.markdown("""
|
237 |
<div class="footer">
|
238 |
-
<a href="
|
239 |
-
<a href="https://www.
|
240 |
-
<a href="https://www.
|
241 |
-
<a href="https://
|
242 |
</div>
|
243 |
""", unsafe_allow_html=True)
|
244 |
-
|
245 |
-
# Clear session state button
|
246 |
-
if st.button("Clear Session"):
|
247 |
-
clear_session_state()
|
248 |
-
st.write("Session cleared.")
|
|
|
111 |
background-color: #000000; /* Royal Black */
|
112 |
color: #ffffff; /* White */
|
113 |
}
|
114 |
+
.custom-class {
|
115 |
background-color: #000000; /* Royal Black */
|
116 |
color: #ffffff; /* White */
|
117 |
}
|
|
|
170 |
.footer i {
|
171 |
font-size: 22px;
|
172 |
}
|
173 |
+
.custom-placeholder {
|
|
|
174 |
color: #000000; /* Royal Black */
|
175 |
font-weight: bold;
|
176 |
}
|
|
|
214 |
st.write(st.session_state['responses']["smart_document_summarizer"])
|
215 |
|
216 |
elif selected_task == "π Interactive Study Planner":
|
217 |
+
exam_schedule = st.text_area("Enter your exam schedule here:")
|
218 |
+
if st.button("Create Study Plan"):
|
219 |
st.session_state['responses']["interactive_study_planner"] = interactive_study_planner(exam_schedule)
|
220 |
st.write(st.session_state['responses']["interactive_study_planner"])
|
221 |
|
222 |
elif selected_task == "β Real-Time Q&A Support":
|
223 |
+
question = st.text_input("Enter your academic question here:")
|
224 |
if st.button("Get Answer"):
|
225 |
st.session_state['responses']["real_time_qa_support"] = real_time_qa_support(question)
|
226 |
st.write(st.session_state['responses']["real_time_qa_support"])
|
227 |
|
228 |
elif selected_task == "π¬ Mental Health Check-In":
|
229 |
+
feelings = st.text_input("How are you feeling today?")
|
230 |
if st.button("Get Advice"):
|
231 |
st.session_state['responses']["mental_health_check_in"] = mental_health_check_in(feelings)
|
232 |
st.write(st.session_state['responses']["mental_health_check_in"])
|
233 |
|
234 |
+
# Add a footer with contact information
|
235 |
st.markdown("""
|
236 |
<div class="footer">
|
237 |
+
<a href="mailto:contact@edunexus.com"><i class="fa fa-envelope"></i> Contact</a>
|
238 |
+
<a href="https://www.edunexus.com"><i class="fa fa-globe"></i> Website</a>
|
239 |
+
<a href="https://www.linkedin.com/company/edunexus"><i class="fa fa-linkedin"></i> LinkedIn</a>
|
240 |
+
<a href="https://twitter.com/edunexus"><i class="fa fa-twitter"></i> Twitter</a>
|
241 |
</div>
|
242 |
""", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|