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():
|
def refresh_voices():
|
||||||
global params
|
global params
|
||||||
your_voices = elevenlabs.voices(api_key=params['api_key'])
|
your_voices = elevenlabs.voices()
|
||||||
voice_names = [voice.name for voice in your_voices]
|
voice_names = [voice.name for voice in your_voices]
|
||||||
return voice_names
|
return voice_names
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue