From 4d8556c80a1d91392232886856fcde088cf94b89 Mon Sep 17 00:00:00 2001 From: Paillat Date: Thu, 15 Feb 2024 17:57:49 +0100 Subject: [PATCH] Fix typo in CoquiTTSEngine.py --- src/engines/TTSEngine/CoquiTTSEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engines/TTSEngine/CoquiTTSEngine.py b/src/engines/TTSEngine/CoquiTTSEngine.py index f2551b3..9635092 100644 --- a/src/engines/TTSEngine/CoquiTTSEngine.py +++ b/src/engines/TTSEngine/CoquiTTSEngine.py @@ -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)