From 428261eede3d646c6754aa59435efd0ba541c3f6 Mon Sep 17 00:00:00 2001 From: Orbitoid Date: Wed, 17 May 2023 02:34:49 +1000 Subject: [PATCH] fix: elevenlabs removed the need for the api key for refreshing voices (#2097) --- extensions/elevenlabs_tts/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/elevenlabs_tts/script.py b/extensions/elevenlabs_tts/script.py index 9fd54779..18545030 100644 --- a/extensions/elevenlabs_tts/script.py +++ b/extensions/elevenlabs_tts/script.py @@ -19,7 +19,7 @@ wav_idx = 0 def refresh_voices(): global params - your_voices = elevenlabs.voices(api_key=params['api_key']) + your_voices = elevenlabs.voices() voice_names = [voice.name for voice in your_voices] return voice_names