AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Fix voice_index not being used
Dylan0cbd2bb3d03a
diff --git a/scripts/speak.py b/scripts/speak.pyindex f98a9f445d..6a966efc37 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