Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,9 @@ def process_text(user_name, text_input, selected_model, temp_values):
|
|
199 |
model=model_links[selected_model],
|
200 |
messages=[
|
201 |
#{"role": m["role"], "content": m["content"]}
|
202 |
-
{"role": "user", "content": m["content"]}
|
|
|
|
|
203 |
for m in st.session_state.messages
|
204 |
],
|
205 |
temperature=temp_values,
|
|
|
199 |
model=model_links[selected_model],
|
200 |
messages=[
|
201 |
#{"role": m["role"], "content": m["content"]}
|
202 |
+
#{"role": "user", "content": m["content"]}
|
203 |
+
{"role": "user", "content": m["message"]}
|
204 |
+
|
205 |
for m in st.session_state.messages
|
206 |
],
|
207 |
temperature=temp_values,
|