Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -170,14 +170,14 @@ for message in st.session_state.messages:
|
|
170 |
|
171 |
|
172 |
# Accept user input
|
173 |
-
if prompt := st.chat_input(f"Hi I'm {selected_model},
|
174 |
|
175 |
# Display user message in chat message container
|
176 |
with st.chat_message("user"):
|
177 |
st.markdown(prompt)
|
178 |
# Add user message to chat history
|
179 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
180 |
-
|
181 |
|
182 |
# Display assistant response in chat message container
|
183 |
with st.chat_message("assistant"):
|
|
|
170 |
|
171 |
|
172 |
# Accept user input
|
173 |
+
if prompt := st.chat_input(f"Hi I'm {selected_model}, how are you?"):
|
174 |
|
175 |
# Display user message in chat message container
|
176 |
with st.chat_message("user"):
|
177 |
st.markdown(prompt)
|
178 |
# Add user message to chat history
|
179 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
180 |
+
st.session_state.messages.append({"role": "assistant", "content": "Ask a single question each time, related to well being and mental health and to the content."})
|
181 |
|
182 |
# Display assistant response in chat message container
|
183 |
with st.chat_message("assistant"):
|