Update elevenlabs.py

Updated voice_name attribute to name
pull/2353/head
Balazsoficial 2 months ago committed by GitHub
parent 64bf647de9
commit bad41c18f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -35,4 +35,4 @@ class elevenlabs:
def randomvoice(self):
if self.client is None:
self.initialize()
return random.choice(self.client.voices.get_all().voices).voice_name
return random.choice(self.client.voices.get_all().voices).name

Loading…
Cancel
Save