From 2cf71239b0badcc8abf4fa3b393c0850728e59cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 16 Sep 2025 13:23:27 -0700 Subject: [PATCH] examples(01b): use TTSSpeakFrame instead of TextFrame --- examples/foundational/01b-livekit-audio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/foundational/01b-livekit-audio.py b/examples/foundational/01b-livekit-audio.py index 24fa5a8d7..f6ab0e609 100644 --- a/examples/foundational/01b-livekit-audio.py +++ b/examples/foundational/01b-livekit-audio.py @@ -11,7 +11,7 @@ import sys from dotenv import load_dotenv from loguru import logger -from pipecat.frames.frames import TextFrame +from pipecat.frames.frames import TTSSpeakFrame from pipecat.pipeline.pipeline import Pipeline from pipecat.pipeline.runner import PipelineRunner from pipecat.pipeline.task import PipelineTask @@ -50,7 +50,7 @@ async def main(): async def on_first_participant_joined(transport, participant_id): await asyncio.sleep(1) await task.queue_frame( - TextFrame( + TTSSpeakFrame( "Hello there! How are you doing today? Would you like to talk about the weather?" ) )