Add a dummy random_voice variable function run() in GTTS.py

pull/2078/head
RequieMa 1 year ago committed by GitHub
parent 0f98d422ae
commit 484e0d7fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save