neke-leo commited on
Commit
988bf9f
1 Parent(s): cc8ab11

FIX: Use "assistant" role instead of "system"

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def bot_respond(user_query, chat_messages: list):
73
 
74
  chat_messages.pop()
75
  chat_messages.append({"role": "user", "content": user_query})
76
- chat_messages.append({"role": "system", "content": text})
77
 
78
  return text, context_prompt
79
 
 
73
 
74
  chat_messages.pop()
75
  chat_messages.append({"role": "user", "content": user_query})
76
+ chat_messages.append({"role": "assistant", "content": text})
77
 
78
  return text, context_prompt
79