Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ for r in stream:
|
|
34 |
if r.token.text in gen_kwargs["stop_sequences"]:
|
35 |
break
|
36 |
collected_chunks.append(r.token.text)
|
37 |
-
|
38 |
collected_messages.append(chunk_message)
|
39 |
|
40 |
try:
|
|
|
34 |
if r.token.text in gen_kwargs["stop_sequences"]:
|
35 |
break
|
36 |
collected_chunks.append(r.token.text)
|
37 |
+
chunk_message = r.token.text
|
38 |
collected_messages.append(chunk_message)
|
39 |
|
40 |
try:
|