Braddy commited on
Commit
76de1fe
1 Parent(s): 9caaf6e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def bot(history):
55
  user_message = history[-1][0]
56
 
57
  for chunk in chain.stream({"text": user_message}):
58
- history[-1][1] += chunk.text
59
  yield history
60
 
61
 
 
55
  user_message = history[-1][0]
56
 
57
  for chunk in chain.stream({"text": user_message}):
58
+ history[-1][1] += chunk["text"]
59
  yield history
60
 
61