Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -117,16 +117,27 @@ reset_button = st.sidebar.button('Reset Chat', on_click=reset_conversation)
|
|
117 |
if st.session_state.messages:
|
118 |
with st.sidebar:
|
119 |
st.subheader("Diagnosis")
|
120 |
-
st.markdown("Analyzing
|
121 |
|
122 |
diagnosis = analyze_diagnosis(st.session_state.messages, model_links[selected_model])
|
123 |
if diagnosis:
|
124 |
-
st.markdown(f"Diagnosis: {diagnosis}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
# Add cautionary message about testing phase at the bottom of the sidebar
|
|
|
127 |
st.sidebar.markdown("**Note**: This model is still in the beta phase. Responses may be inaccurate or undesired. Use it cautiously, especially for critical issues.")
|
128 |
|
129 |
# Add logo and text to the sidebar
|
|
|
130 |
st.sidebar.image("https://assets.isu.pub/document-structure/221118065013-a6029cf3d563afaf9b946bb9497d45d4/v1/2841525b232adaef7bd0efe1da81a4c5.jpeg", width=200)
|
131 |
st.sidebar.write("A product proudly developed by Kisii University")
|
132 |
|
|
|
117 |
if st.session_state.messages:
|
118 |
with st.sidebar:
|
119 |
st.subheader("Diagnosis")
|
120 |
+
st.markdown("<div style='color: #1E90FF; font-size: 16px; font-weight: bold;'>Analyzing...</div>", unsafe_allow_html=True)
|
121 |
|
122 |
diagnosis = analyze_diagnosis(st.session_state.messages, model_links[selected_model])
|
123 |
if diagnosis:
|
124 |
+
st.markdown(f"<div style='color: #FF6347; font-size: 18px; font-weight: bold;'>Diagnosis: {diagnosis}</div>", unsafe_allow_html=True)
|
125 |
+
|
126 |
+
# Add additional features on the sidebar
|
127 |
+
st.sidebar.markdown("---")
|
128 |
+
st.sidebar.subheader("Additional Features")
|
129 |
+
st.sidebar.markdown("📅 Schedule Appointment")
|
130 |
+
st.sidebar.markdown("📝 Take Notes")
|
131 |
+
st.sidebar.markdown("🎵 Relaxing Music")
|
132 |
+
st.sidebar.markdown("🥗 Healthy Recipes")
|
133 |
+
st.sidebar.markdown("💤 Sleep Tracker")
|
134 |
|
135 |
# Add cautionary message about testing phase at the bottom of the sidebar
|
136 |
+
st.sidebar.markdown("---")
|
137 |
st.sidebar.markdown("**Note**: This model is still in the beta phase. Responses may be inaccurate or undesired. Use it cautiously, especially for critical issues.")
|
138 |
|
139 |
# Add logo and text to the sidebar
|
140 |
+
st.sidebar.markdown("---")
|
141 |
st.sidebar.image("https://assets.isu.pub/document-structure/221118065013-a6029cf3d563afaf9b946bb9497d45d4/v1/2841525b232adaef7bd0efe1da81a4c5.jpeg", width=200)
|
142 |
st.sidebar.write("A product proudly developed by Kisii University")
|
143 |
|