chansung commited on
Commit
ea98afb
1 Parent(s): 8b57822

Update app/ui.py

Browse files
Files changed (1) hide show
  1. app/ui.py +1 -1
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