mrfakename commited on
Commit
dc39974
1 Parent(s): 23a6d4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def clsynthesize(text, voice, vcsteps, embscale, alpha, beta, progress=gr.Progre
94
  texts = txtsplit(text)
95
  audios = []
96
  # vs = styletts2importable.compute_style(voice)
97
- vs = styletts2importable.compute_style('voices/m-us-2.wav')
98
  # print(vs)
99
  for t in progress.tqdm(texts):
100
  audios.append(styletts2importable.inference(t, vs, alpha=alpha, beta=beta, diffusion_steps=vcsteps, embedding_scale=embscale))
 
94
  texts = txtsplit(text)
95
  audios = []
96
  # vs = styletts2importable.compute_style(voice)
97
+ vs = styletts2importable.compute_style(voice)
98
  # print(vs)
99
  for t in progress.tqdm(texts):
100
  audios.append(styletts2importable.inference(t, vs, alpha=alpha, beta=beta, diffusion_steps=vcsteps, embedding_scale=embscale))