mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
fix: elevenlabs removed the need for the api key for refreshing voices (#2097)
This commit is contained in:
parent
cd9be4c2ba
commit
428261eede
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user