FredZhang7 commited on
Commit
43a99df
·
verified ·
1 Parent(s): fe97083

print history

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ def generate_prompt(instruction, input=None, history=None):
21
  for pair in history:
22
  if len(pair[0]) > 0 and len(pair[1]) > 0:
23
  history_str += f"User: {pair[0]}\n\nAssistant: {pair[1]}\n\n"
 
24
  instruction = history[-1][0]
25
 
26
  instruction = (
 
21
  for pair in history:
22
  if len(pair[0]) > 0 and len(pair[1]) > 0:
23
  history_str += f"User: {pair[0]}\n\nAssistant: {pair[1]}\n\n"
24
+ print(history)
25
  instruction = history[-1][0]
26
 
27
  instruction = (