From ebe6974cc5c5d0e7ae1f9da11b069cb67738d0d6 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 16 Jun 2022 17:44:22 -0400 Subject: [PATCH] left debug thing. --- .env.template | 4 ++-- TTS/TikTok.py | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.env.template b/.env.template index b66ec3e..d5e82fd 100644 --- a/.env.template +++ b/.env.template @@ -32,8 +32,8 @@ MAX_COMMENT_LENGTH="500" OPACITY="1" # see TTSwrapper.py for all valid options -VOICE="en_us_001" # e.g. en_us_002 +VOICE="" # e.g. en_us_002 # IN-PROGRESS - not yet implemented -TTsChoice="TikTok" # todo add docs +TTsChoice="polly" # todo add docs STORYMODE="False" diff --git a/TTS/TikTok.py b/TTS/TikTok.py index 79d472a..a299216 100644 --- a/TTS/TikTok.py +++ b/TTS/TikTok.py @@ -142,6 +142,3 @@ class TikTok: # TikTok Text-to-Speech Wrapper if ok_or_good == 1: # 1/10 chance of ok voice return random.choice(voices) return random.choice(human) # 9/10 chance of good voice - - -TikTok().tts('Hello World', '../TTS/hello.mp3')