DataRaptor commited on
Commit
b992ab0
1 Parent(s): 0a21035

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def main():
116
 
117
  ## Get context
118
  params = {
119
- "chat_history": [{"content": x["content"]} for x in st.session_state.messages[-10:] if x['role']=='user'],
120
  "model": "bloom-7b",
121
  "mode": "specific",
122
  "config": {
 
116
 
117
  ## Get context
118
  params = {
119
+ "chat_history": [{"content": x["content"], "role": x["role"]} for x in st.session_state.messages[-10:] if x['role']=='user'],
120
  "model": "bloom-7b",
121
  "mode": "specific",
122
  "config": {