|
|
@ -1,8 +1,14 @@
|
|
|
|
|
|
|
|
import os
|
|
|
|
from utils.console import print_step, print_substep
|
|
|
|
from utils.console import print_step, print_substep
|
|
|
|
from rich.progress import track
|
|
|
|
from rich.progress import track
|
|
|
|
from tts.engine_wrapper import TTSEngine
|
|
|
|
from tts.engine_wrapper import TTSEngine
|
|
|
|
import tts.google_translate_tts
|
|
|
|
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):
|
|
|
|
def save_text_to_mp3(reddit_obj):
|
|
|
|
"""Saves Text to MP3 files.
|
|
|
|
"""Saves Text to MP3 files.
|
|
|
|
|
|
|
|
|
|
|
|