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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
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