Spaces:
Running
Running
Update app.py
Browse files
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 |
|