left debug thing.

pull/523/head
Jason 2 years ago
parent c58efb23fc
commit ebe6974cc5

@ -32,8 +32,8 @@ MAX_COMMENT_LENGTH="500"
OPACITY="1" OPACITY="1"
# see TTSwrapper.py for all valid options # 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 # IN-PROGRESS - not yet implemented
TTsChoice="TikTok" # todo add docs TTsChoice="polly" # todo add docs
STORYMODE="False" STORYMODE="False"

@ -142,6 +142,3 @@ class TikTok: # TikTok Text-to-Speech Wrapper
if ok_or_good == 1: # 1/10 chance of ok voice if ok_or_good == 1: # 1/10 chance of ok voice
return random.choice(voices) return random.choice(voices)
return random.choice(human) # 9/10 chance of good voice return random.choice(human) # 9/10 chance of good voice
TikTok().tts('Hello World', '../TTS/hello.mp3')

Loading…
Cancel
Save