Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -137,8 +137,8 @@ async def tts(ws: WebSocket):
|
|
137 |
|
138 |
# ----- Token‑Handling ----------------------------------------
|
139 |
for t in new:
|
140 |
-
if t == EOS_TOKEN:
|
141 |
-
|
142 |
if t == NEW_BLOCK:
|
143 |
buf.clear()
|
144 |
continue
|
|
|
137 |
|
138 |
# ----- Token‑Handling ----------------------------------------
|
139 |
for t in new:
|
140 |
+
# if t == EOS_TOKEN: # Temporarily commented out for debugging
|
141 |
+
# raise StopIteration # Temporarily commented out for debugging
|
142 |
if t == NEW_BLOCK:
|
143 |
buf.clear()
|
144 |
continue
|