vonshed commited on
Commit
6084240
1 Parent(s): c916068

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -177,7 +177,7 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, ready for a short intervie
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."})
181
 
182
  # Display assistant response in chat message container
183
  with st.chat_message("assistant"):
@@ -189,7 +189,7 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, ready for a short intervie
189
  ],
190
  temperature=temp_values,#0.5,
191
  stream=True,
192
- max_tokens=3000,
193
  )
194
 
195
  response = st.write_stream(stream)
 
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": "user", "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"):
 
189
  ],
190
  temperature=temp_values,#0.5,
191
  stream=True,
192
+ max_tokens=600,
193
  )
194
 
195
  response = st.write_stream(stream)