Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,8 @@ def generate(
|
|
37 |
|
38 |
if shouldoverridehistory:
|
39 |
history = [historyoverride[i:i + 2] for i in range(0, len(historyoverride), 2)]
|
|
|
|
|
40 |
|
41 |
formatted_prompt = format_prompt(prompt, history, format_sys_prompt(username, botname, botpersonality, botexamplechat, chatsituation))
|
42 |
|
|
|
37 |
|
38 |
if shouldoverridehistory:
|
39 |
history = [historyoverride[i:i + 2] for i in range(0, len(historyoverride), 2)]
|
40 |
+
|
41 |
+
print(history)
|
42 |
|
43 |
formatted_prompt = format_prompt(prompt, history, format_sys_prompt(username, botname, botpersonality, botexamplechat, chatsituation))
|
44 |
|