mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 10:35:10 +02:00
fix: elevenlabs removed the need for the api key for refreshing voices (#2097)
This commit is contained in:
parent
cd9be4c2ba
commit
428261eede
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue