This commit is contained in:
Eoin
2026-02-10 12:25:07 +09:00
parent 18d91d6df3
commit f3c1cd4cd6

View File

@@ -28,23 +28,35 @@ from pipecat.services.tts_service import TTSService
from pipecat.utils.tracing.service_decorators import traced_tts from pipecat.utils.tracing.service_decorators import traced_tts
ValidVoice = Literal[ ValidVoice = Literal[
"alloy", "ash", "ballad", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer", "verse", "marin", "cedar" "alloy",
"ash",
"ballad",
"cedar",
"coral",
"echo",
"fable",
"marin",
"nova",
"onyx",
"sage",
"shimmer",
"verse",
] ]
VALID_VOICES: Dict[str, ValidVoice] = { VALID_VOICES: Dict[str, ValidVoice] = {
"alloy": "alloy", "alloy": "alloy",
"ash": "ash", "ash": "ash",
"ballad": "ballad", "ballad": "ballad",
"cedar": "cedar",
"coral": "coral", "coral": "coral",
"echo": "echo", "echo": "echo",
"fable": "fable", "fable": "fable",
"onyx": "onyx", "marin": "marin",
"nova": "nova", "nova": "nova",
"onyx": "onyx",
"sage": "sage", "sage": "sage",
"shimmer": "shimmer", "shimmer": "shimmer",
"verse": "verse", "verse": "verse",
"marin": "marin",
"cedar": "cedar",
} }