vilarin commited on
Commit
d6a2aad
1 Parent(s): 3489a9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,8 +99,8 @@ def stream_chat(
99
  thread.start()
100
 
101
  buffer = ""
102
- for new_text in streamer[0]:
103
- buffer += new_text
104
  yield buffer
105
 
106
 
 
99
  thread.start()
100
 
101
  buffer = ""
102
+ for new_text in streamer:
103
+ buffer += new_text[0]
104
  yield buffer
105
 
106