Update api.py

This commit is contained in:
Moctar Haiz 2024-04-08 21:30:22 +02:00 committed by GitHub
parent 9e6788bf80
commit 784f5f5e8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class TTS(nn.Module):
language=language,
speaker_wav=speaker_wav,
split_sentences=split_sentences,
speed=1.0,
speed=speed,
**kwargs,
)
self.synthesizer.save_wav(wav=wav, path=file_path, pipe_out=pipe_out)