Spaces:
Runtime error
Runtime error
fix: response is str already
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def generate(
|
|
58 |
output = ""
|
59 |
|
60 |
for response in stream:
|
61 |
-
output += response
|
62 |
|
63 |
for stop_str in STOP_SEQUENCES:
|
64 |
if output.endswith(stop_str):
|
|
|
58 |
output = ""
|
59 |
|
60 |
for response in stream:
|
61 |
+
output += response
|
62 |
|
63 |
for stop_str in STOP_SEQUENCES:
|
64 |
if output.endswith(stop_str):
|