From 420e3894e65caaf700643de4db0a9e1c69fe0ba7 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Mon, 6 Jun 2022 21:48:19 +0100 Subject: [PATCH] Add dictionary of providers --- video_creation/voices.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/video_creation/voices.py b/video_creation/voices.py index 5c16088..8f8a23d 100644 --- a/video_creation/voices.py +++ b/video_creation/voices.py @@ -1,8 +1,14 @@ +import os from utils.console import print_step, print_substep from rich.progress import track from tts.engine_wrapper import TTSEngine import tts.google_translate_tts +## Add your provider here on a new line +TTSProviders ={ + "GoogleTranslate": tts.google_translate_tts +} + def save_text_to_mp3(reddit_obj): """Saves Text to MP3 files.