awacke1 commited on
Commit
0cf3672
1 Parent(s): 6f6d449

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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,