Spaces:
Configuration error
Configuration error
Update app.py
Browse files
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(
|
| 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))
|