MaziyarPanahi commited on
Commit
fcf56ed
·
unverified ·
1 Parent(s): 637af8c

Fix system prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
97
  # user_question = history[-1][0]
98
  history[-1][1] = ""
99
 
100
- history_messages = system_prompt + history_messages
101
  print(history_messages)
102
 
103
  data = {
 
97
  # user_question = history[-1][0]
98
  history[-1][1] = ""
99
 
100
+ history_messages = [system_prompt] + history_messages
101
  print(history_messages)
102
 
103
  data = {