mrfakename commited on
Commit
62de84c
1 Parent(s): dc39974

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -56,6 +56,7 @@ def synthesize(text, voice, lngsteps, password, progress=gr.Progress()):
56
  v = voice.lower()
57
  audios = []
58
  for t in progress.tqdm(texts):
 
59
  audios.append(styletts2importable.inference(t, voices[v], alpha=0.3, beta=0.7, diffusion_steps=lngsteps, embedding_scale=1))
60
  return (24000, np.concatenate(audios))
61
  # def longsynthesize(text, voice, lngsteps, password, progress=gr.Progress()):
 
56
  v = voice.lower()
57
  audios = []
58
  for t in progress.tqdm(texts):
59
+ print(t)
60
  audios.append(styletts2importable.inference(t, voices[v], alpha=0.3, beta=0.7, diffusion_steps=lngsteps, embedding_scale=1))
61
  return (24000, np.concatenate(audios))
62
  # def longsynthesize(text, voice, lngsteps, password, progress=gr.Progress()):