mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-20 07:24:21 +01:00
Removed trailing spaces and fixed CRLF being removed
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user