TTSService: allow passing multiple text filters and aggregators

This commit is contained in:
Aleix Conchillo Flaqué
2025-03-18 17:31:01 -07:00
parent 71a38a120e
commit 514ecda755
5 changed files with 61 additions and 20 deletions

View File

@@ -60,7 +60,7 @@ async def main():
tts = CartesiaTTSService(
api_key=os.getenv("CARTESIA_API_KEY"),
voice_id="71a7ad14-091c-4e8e-a314-022ece01c121", # British Reading Lady
# text_filter=MarkdownTextFilter(),
# text_filters=[MarkdownTextFilter()],
)
llm = NimLLMService(