Update elevenlabs.py

Change voice_name to name since it seems that elevenlabs changed the attribute name
pull/2078/head
RequieMa 1 year ago committed by GitHub
parent c68c5808cb
commit 0f98d422ae
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