From 4853d5d55cb0df19ba57ceecdd37f5e42b8acf04 Mon Sep 17 00:00:00 2001 From: padillamt Date: Mon, 21 Jul 2025 13:27:25 -0700 Subject: [PATCH] inworld: updated InworldHttpTTSService initialization --- examples/foundational/07aa-interruptible-inworld-http.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/foundational/07aa-interruptible-inworld-http.py b/examples/foundational/07aa-interruptible-inworld-http.py index 03622a2d4..c1c509ade 100644 --- a/examples/foundational/07aa-interruptible-inworld-http.py +++ b/examples/foundational/07aa-interruptible-inworld-http.py @@ -60,9 +60,11 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si tts = InworldHttpTTSService( api_key=os.getenv("INWORLD_API_KEY", ""), - voice_id="Ashley", - model="inworld-tts-1", aiohttp_session=session, + params=InworldHttpTTSService.InputParams( + voice_id="Ashley", + model="inworld-tts-1-max", + ), ) llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY"))