Tomtom84 commited on
Commit
e271f39
·
verified ·
1 Parent(s): 7db0e09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ async def tts(ws: WebSocket):
102
  ids, attn = build_prompt(text, voice)
103
  past = None
104
  offset_len = ids.size(1)
105
- cache_pos = offset_len - 1 # 0‑basiert
106
  last_tok = None
107
  buf = []
108
 
 
102
  ids, attn = build_prompt(text, voice)
103
  past = None
104
  offset_len = ids.size(1)
105
+ cache_pos = offset_len # 0‑basiert
106
  last_tok = None
107
  buf = []
108