Spaces:
Runtime error
Runtime error
Update app/ui.py
Browse files
app/ui.py
CHANGED
@@ -8,6 +8,6 @@ async def chat(message, history):
|
|
8 |
messages.append({"role":"user", "content":message})
|
9 |
|
10 |
full_resp = ""
|
11 |
-
async for resp in chat(messages):
|
12 |
full_resp = full_resp + resp
|
13 |
yield full_resp
|
|
|
8 |
messages.append({"role":"user", "content":message})
|
9 |
|
10 |
full_resp = ""
|
11 |
+
async for resp in chat(messages, history):
|
12 |
full_resp = full_resp + resp
|
13 |
yield full_resp
|