Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def generate(
|
|
68 |
for stop_str in STOP_SEQUENCES:
|
69 |
if output.endswith(stop_str):
|
70 |
output = output[:-len(stop_str)]
|
71 |
-
output = output.rstrip()
|
72 |
yield output
|
73 |
yield output
|
74 |
except Exception as e:
|
|
|
68 |
for stop_str in STOP_SEQUENCES:
|
69 |
if output.endswith(stop_str):
|
70 |
output = output[:-len(stop_str)]
|
71 |
+
# output = output.rstrip()
|
72 |
yield output
|
73 |
yield output
|
74 |
except Exception as e:
|