Compare commits

...

1 Commits

Author SHA1 Message Date
Jon Taylor
c85704a342 added set_model to 11l service 2024-09-02 14:19:23 +03:00

View File

@@ -43,6 +43,10 @@ class ElevenLabsTTSService(TTSService):
logger.debug(f"Switching TTS voice to: [{voice}]")
self._voice_id = voice
async def set_model(self, model: str):
logger.debug(f"Switching TTS model to: [{model}]")
self._model = model
async def run_tts(self, text: str) -> AsyncGenerator[Frame, None]:
logger.debug(f"Generating TTS: [{text}]")