Update engine_wrapper.py

gtts bug fix commenting the random_voice flag in call_tts
pull/1746/head
Sanjay Adhitya .S 2 years ago committed by GitHub
parent 72a1e9dc71
commit 17f763b6bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -154,7 +154,7 @@ class TTSEngine:
self.tts_module.run(
text,
filepath=f"{self.path}/{filename}.mp3",
random_voice=settings.config["settings"]["tts"]["random_voice"],
# random_voice=settings.config["settings"]["tts"]["random_voice"],
)
# try:
# self.length += MP3(f"{self.path}/{filename}.mp3").info.length

Loading…
Cancel
Save