From 270e725e4083918b15f4624624cc6a104ae9ad65 Mon Sep 17 00:00:00 2001 From: liamb13 <69778531+liamb13@users.noreply.github.com> Date: Sun, 21 May 2023 20:42:12 +1000 Subject: [PATCH] Update TTS/elevenlabs.py Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com> --- TTS/elevenlabs.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/TTS/elevenlabs.py b/TTS/elevenlabs.py index af5dbec..e24873b 100644 --- a/TTS/elevenlabs.py +++ b/TTS/elevenlabs.py @@ -25,9 +25,6 @@ class elevenlabs: if random_voice: voice = self.randomvoice() else: - if not settings.config["settings"]["tts"]["elevenlabs_voice_name"]: - print(f"Please set the config variable ELEVENLABS_VOICE_NAME to a valid voice. options are: {voices}. Using random voice.") - voice = self.randomvoice() else: voice = str( settings.config["settings"]["tts"]["elevenlabs_voice_name"]