services: allow TTSModelUpdateFrame to also update language and voice

This commit is contained in:
Aleix Conchillo Flaqué
2024-08-26 12:08:53 -07:00
parent fedfc366f6
commit d7c9679977
3 changed files with 11 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ class TTSService(AIService):
self._current_sentence: str = ""
@abstractmethod
async def set_model(self, model: str):
async def set_model(self, model: str, voice: str | None, language: Language | None):
pass
@abstractmethod