Minor adjustment of tts typing (#93450)
This commit is contained in:
parent
68379dd55a
commit
30d9d7d905
20 changed files with 49 additions and 62 deletions
|
@ -134,12 +134,11 @@ class CloudProvider(Provider):
|
|||
}
|
||||
|
||||
async def async_get_tts_audio(
|
||||
self, message: str, language: str, options: dict[str, Any] | None = None
|
||||
self, message: str, language: str, options: dict[str, Any]
|
||||
) -> TtsAudioType:
|
||||
"""Load TTS from NabuCasa Cloud."""
|
||||
# Process TTS
|
||||
try:
|
||||
assert options is not None
|
||||
data = await self.cloud.voice.process_tts(
|
||||
text=message,
|
||||
language=language,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue