print history
Browse files
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 = (
|