Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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": "
|
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=
|
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)
|