Fix typo in CoquiTTSEngine.py

This commit is contained in:
2024-02-15 17:57:49 +01:00
parent e3deafbf75
commit 4d8556c80a

View File

@@ -118,7 +118,7 @@ class CoquiTTSEngine(BaseTTSEngine):
float: The time taken to synthesize the speech with whispering effect.
"""
self.tts.tts_to_file(
text=text, file_path=path, lang=self.language, speaker=self.voice
text=text, file_path=path, language=self.language, speaker=self.voice
)
if self.to_force_duration:
self.force_duration(float(self.duration), path)