Yingxu He commited on
Commit
5aadeda
·
verified ·
1 Parent(s): e9ba98e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def bot(history):
52
  user_message = history[-1][0]
53
 
54
  for chunk in chain.stream({"text": user_message}):
55
- history[-1][1] += chunk
56
  yield history
57
 
58
 
 
52
  user_message = history[-1][0]
53
 
54
  for chunk in chain.stream({"text": user_message}):
55
+ history[-1][1] += chunk.content
56
  yield history
57
 
58