Spaces:
Sleeping
Sleeping
Elijahbodden
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def respond(
|
|
68 |
):
|
69 |
preset = "none"
|
70 |
|
71 |
-
messages = presets[preset]
|
72 |
for val in history:
|
73 |
if val[0]:
|
74 |
messages.append({"role": "user", "content": val[0]})
|
|
|
68 |
):
|
69 |
preset = "none"
|
70 |
|
71 |
+
messages = presets[preset].copy()
|
72 |
for val in history:
|
73 |
if val[0]:
|
74 |
messages.append({"role": "user", "content": val[0]})
|