Merge branch 'fix_tts_random_voice'

pull/2240/head
tkhmielnitzky 8 months ago
commit d1132f7a5d

@ -10,7 +10,7 @@ class GTTS:
self.max_chars = 5000
self.voices = []
def run(self, text, filepath):
def run(self, text, filepath, random_voice: bool = False):
tts = gTTS(
text=text,
lang=settings.config["reddit"]["thread"]["post_lang"] or "en",

Loading…
Cancel
Save