vonshed commited on
Commit
33f3154
1 Parent(s): 0ccda92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
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
- 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"):
 
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"):