mrfakename commited on
Commit
9fe7d60
1 Parent(s): 77cc02b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def longsynthesize(text, voice, password, progress=gr.Progress()):
36
  v = voice.lower()
37
  audios = []
38
  for t in progress.tqdm(texts):
39
- audios.append(styletts2importable.inference(text, voices[v], alpha=0.3, beta=0.7, diffusion_steps=7, embedding_scale=1))
40
  return (24000, np.concatenate(audios))
41
  else:
42
  raise gr.Error('Wrong access code')
 
36
  v = voice.lower()
37
  audios = []
38
  for t in progress.tqdm(texts):
39
+ audios.append(styletts2importable.inference(t, voices[v], alpha=0.3, beta=0.7, diffusion_steps=7, embedding_scale=1))
40
  return (24000, np.concatenate(audios))
41
  else:
42
  raise gr.Error('Wrong access code')