SurfSense/surfsense_backend/app/podcasts/voices/__init__.py
2026-06-10 18:44:03 +02:00

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",
]