ColeGuion commited on
Commit
fb05cd8
·
verified ·
1 Parent(s): 80d968d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ def format_prompt(message, history):
14
  prompt_template = "[INST] " + prompt_prefix + "{} [/INST]"
15
 
16
  # Iterates through every past user input and response to be added to the prompt
 
17
  for user_prompt, bot_response in history:
18
  corrected_prompt = prompt_prefix + user_prompt
19
 
 
14
  prompt_template = "[INST] " + prompt_prefix + "{} [/INST]"
15
 
16
  # Iterates through every past user input and response to be added to the prompt
17
+ print("History Type: {}".format(type(history)))
18
  for user_prompt, bot_response in history:
19
  corrected_prompt = prompt_prefix + user_prompt
20