Update elevenlabs.py

pull/1619/head
liamb13 2 years ago committed by GitHub
parent 9a90363f56
commit 6aef6666e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,10 +25,9 @@ class elevenlabs:
if random_voice:
voice = self.randomvoice()
else:
else:
voice = str(
settings.config["settings"]["tts"]["elevenlabs_voice_name"]
).capitalize()
voice = str(
settings.config["settings"]["tts"]["elevenlabs_voice_name"]
).capitalize()
if settings.config["settings"]["tts"]["elevenlabs_api_key"]:
api_key = settings.config["settings"]["tts"]["elevenlabs_api_key"]

Loading…
Cancel
Save