fix: elevenlabs removed the need for the api key for refreshing voices (#2097)

This commit is contained in:
Orbitoid 2023-05-17 02:34:49 +10:00 committed by GitHub
parent cd9be4c2ba
commit 428261eede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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