Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def respond(
|
|
18 |
temperature,
|
19 |
top_p,
|
20 |
):
|
21 |
-
|
22 |
for val in history:
|
23 |
if val[0]:
|
24 |
messages.append({"role": "user", "content": val[0]})
|
|
|
18 |
temperature,
|
19 |
top_p,
|
20 |
):
|
21 |
+
messages = []
|
22 |
for val in history:
|
23 |
if val[0]:
|
24 |
messages.append({"role": "user", "content": val[0]})
|