diff --git a/TTS/engine_wrapper.py b/TTS/engine_wrapper.py index fd2d36b..017cf79 100644 --- a/TTS/engine_wrapper.py +++ b/TTS/engine_wrapper.py @@ -100,6 +100,7 @@ class TTSEngine: # self.length += sox.file_info.duration(f"{self.path}/{filename}.mp3") clip = AudioFileClip(f"{self.path}/{filename}.mp3") self.length += clip.duration + clip.close() def process_text(text: str): lang = getenv("POSTLANG", "")