diff --git a/scripts/speak.py b/scripts/speak.py index f98a9f44..6a966efc 100644 --- a/scripts/speak.py +++ b/scripts/speak.py @@ -49,9 +49,9 @@ def say_text(text, voice_index=0): if not cfg.elevenlabs_api_key: gtts_speech(text) else: - success = eleven_labs_speech(text) + success = eleven_labs_speech(text, voice_index) if not success: gtts_speech(text) thread = threading.Thread(target=speak) - thread.start() + thread.start() \ No newline at end of file