Tomtom84 commited on
Commit
9066efe
·
verified ·
1 Parent(s): 0238891

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- raise StopIteration
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