bcci commited on
Commit
f5d0fca
·
verified ·
1 Parent(s): 3bf888b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -238,7 +238,9 @@ def tts_full(text: str, voice: str = "af_heart", speed: float = 1.0, format: str
238
 
239
  ref_s = voices[len(tokens)]
240
 
241
- final_token = [[0, *tokens]]
 
 
242
 
243
  full_audio = sess.run(None, dict(
244
  input_ids=final_token,
 
238
 
239
  ref_s = voices[len(tokens)]
240
 
241
+ final_token = [[0, *tokens, 0]]
242
+
243
+ print(final_token)
244
 
245
  full_audio = sess.run(None, dict(
246
  input_ids=final_token,