Update InputParams to languages: support str or List of Languages

This commit is contained in:
Mark Backman
2025-02-11 16:21:58 -05:00
parent 8c2071f248
commit 32d8f6153f
2 changed files with 52 additions and 28 deletions

View File

@@ -45,7 +45,7 @@ async def main():
)
stt = GoogleSTTService(
params=GoogleSTTService.InputParams(language=Language.EN_US),
params=GoogleSTTService.InputParams(languages=Language.EN_US),
)
tts = GoogleTTSService(