Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ async def stream_chat(message: str, history: list, model: str, temperature: floa
|
|
108 |
{"role": "user", "content": prompt},
|
109 |
{"role": "assistant", "content": answer},
|
110 |
])
|
111 |
-
|
112 |
|
113 |
print(f"Conversation is -\n{conversation}")
|
114 |
|
|
|
108 |
{"role": "user", "content": prompt},
|
109 |
{"role": "assistant", "content": answer},
|
110 |
])
|
111 |
+
conversation.append({"role": "user", "content": message})
|
112 |
|
113 |
print(f"Conversation is -\n{conversation}")
|
114 |
|