radames commited on
Commit
8f6c30d
·
1 Parent(s): 0500e73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ If a question does not make any sense, or is not factually coherent, explain why
25
 
26
 
27
  def generate_text(message, history):
28
-
29
  input_prompt = f"[INST] <<SYS>>\n{system_message}\n<</SYS>>\n\n "
30
  for interaction in history:
31
  input_prompt = input_prompt + str(interaction[0]) + " [/INST] " + str(interaction[1]) + " </s><s> [INST] "
 
25
 
26
 
27
  def generate_text(message, history):
28
+ temp = ""
29
  input_prompt = f"[INST] <<SYS>>\n{system_message}\n<</SYS>>\n\n "
30
  for interaction in history:
31
  input_prompt = input_prompt + str(interaction[0]) + " [/INST] " + str(interaction[1]) + " </s><s> [INST] "