From b68f044ef7d73733aa057074ffa4cc2ff2c2c751 Mon Sep 17 00:00:00 2001 From: padillamt Date: Fri, 25 Jul 2025 15:13:43 -0700 Subject: [PATCH] mtpadilla: updated example to reflect parameter placement changes in base Inworld TTS class --- examples/foundational/07ab-interruptible-inworld-http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/foundational/07ab-interruptible-inworld-http.py b/examples/foundational/07ab-interruptible-inworld-http.py index e0ae9f15c..5d559ba5a 100644 --- a/examples/foundational/07ab-interruptible-inworld-http.py +++ b/examples/foundational/07ab-interruptible-inworld-http.py @@ -61,10 +61,10 @@ async def run_example(transport: BaseTransport, _: argparse.Namespace, handle_si tts = InworldTTSService( api_key=os.getenv("INWORLD_API_KEY", ""), aiohttp_session=session, + voice_id="Ashley", + model="inworld-tts-1", streaming=streaming, # True: real-time chunks, False: complete audio then playback params=InworldTTSService.InputParams( - voice_id="Ashley", - model="inworld-tts-1", temperature=0.8, ), )