mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-20 21:18:13 +02:00
22 lines
633 B
Python
22 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",
|
|
]
|