Removed trailing spaces and fixed CRLF being removed

This commit is contained in:
meta-fx
2023-04-11 14:40:05 -05:00
parent efd6a7ecf5
commit 570f76bd51
2 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ def macos_tts_speech(text):
os.system(f'say "{text}"')
def say_text(text, voice_index=0):
def speak():
if not cfg.elevenlabs_api_key:
if cfg.use_mac_os_tts == 'True':
@@ -87,4 +87,4 @@ def say_text(text, voice_index=0):
queue_semaphore.acquire(True)
thread = threading.Thread(target=speak)
thread.start()
thread.start()