Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,8 +176,12 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, how are you?"):
|
|
| 176 |
with st.chat_message("user"):
|
| 177 |
st.markdown(prompt)
|
| 178 |
# Add user message to chat history
|
| 179 |
-
|
| 180 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
|
| 182 |
# Display assistant response in chat message container
|
| 183 |
with st.chat_message("assistant"):
|
|
|
|
| 176 |
with st.chat_message("user"):
|
| 177 |
st.markdown(prompt)
|
| 178 |
# Add user message to chat history
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
mixPrompt = "Ask a single question each time, ask about my well being and mental health in relation to:" + prompt
|
| 182 |
+
|
| 183 |
+
st.session_state.messages.append({"role": "user", "content": mixPrompt})
|
| 184 |
+
#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."})
|
| 185 |
|
| 186 |
# Display assistant response in chat message container
|
| 187 |
with st.chat_message("assistant"):
|