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