mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
23 lines
633 B
Python
23 lines
633 B
Python
|
|
"""Voices: the catalog of selectable TTS voices and the active provider.
|
||
|
|
|
||
|
|
Replaces the legacy hardcoded speaker-id voice maps. Callers obtain the
|
||
|
|
catalog via :func:`get_voice_catalog` and identify the configured provider via
|
||
|
|
:func:`provider_from_service`.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from .catalog import VoiceCatalog, get_voice_catalog
|
||
|
|
from .provider import TtsProvider, provider_from_service
|
||
|
|
from .voice import ANY_LANGUAGE, CatalogVoice, VoiceGender
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"ANY_LANGUAGE",
|
||
|
|
"CatalogVoice",
|
||
|
|
"TtsProvider",
|
||
|
|
"VoiceCatalog",
|
||
|
|
"VoiceGender",
|
||
|
|
"get_voice_catalog",
|
||
|
|
"provider_from_service",
|
||
|
|
]
|