Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def stream_chat(message: str, history: list, temperature: float, context_window:
|
|
59 |
for prompt, answer in history:
|
60 |
conversation.extend([
|
61 |
{"role": "user", "content": prompt},
|
62 |
-
{"role": "assistant", "content": answer}
|
63 |
])
|
64 |
conversation.append({"role": "user", "content": message})
|
65 |
|
|
|
59 |
for prompt, answer in history:
|
60 |
conversation.extend([
|
61 |
{"role": "user", "content": prompt},
|
62 |
+
{"role": "assistant", "content": answer},
|
63 |
])
|
64 |
conversation.append({"role": "user", "content": message})
|
65 |
|