Fix StreamElements TTS (#5146)

This commit is contained in:
NeonN3mesis
2023-08-28 12:21:49 -04:00
committed by GitHub
parent 3d322b791f
commit 78a620c1ec

View File

@@ -20,8 +20,10 @@ class StreamElementsSpeech(VoiceBase):
def _setup(self, config: Config) -> None:
"""Setup the voices, API key, etc."""
self.config = config
def _speech(self, text: str, voice: str, _: int = 0) -> bool:
voice = self.config.streamelements_voice
"""Speak text using the streamelements API
Args: