Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,9 @@ st.title("Emotional Support Chatbot")
|
|
55 |
st.write("Hello! I'm here to support you emotionally and answer any questions. How are you feeling today?")
|
56 |
st.markdown("<p style='color:green;'>Developed by Hashir Ehtisham</p>", unsafe_allow_html=True)
|
57 |
|
58 |
-
|
|
|
|
|
59 |
|
60 |
with st.expander("Settings"):
|
61 |
max_tokens_options = [64, 128, 256, 512, 1024, 2048]
|
|
|
55 |
st.write("Hello! I'm here to support you emotionally and answer any questions. How are you feeling today?")
|
56 |
st.markdown("<p style='color:green;'>Developed by Hashir Ehtisham</p>", unsafe_allow_html=True)
|
57 |
|
58 |
+
# Set default system message directly
|
59 |
+
if 'system_message' not in st.session_state:
|
60 |
+
st.session_state.system_message = "You are a friendly Emotional Support Chatbot."
|
61 |
|
62 |
with st.expander("Settings"):
|
63 |
max_tokens_options = [64, 128, 256, 512, 1024, 2048]
|