Cartesia spell tag demo

This commit is contained in:
James Hush
2025-04-17 11:15:50 +08:00
parent 9c19cff818
commit 63c7a1aead

View File

@@ -42,7 +42,7 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection):
# Register an event handler so we can play the audio when the client joins
@transport.event_handler("on_client_connected")
async def on_client_connected(transport, client):
await task.queue_frames([TTSSpeakFrame(f"Hello there!"), EndFrame()])
await task.queue_frames([TTSSpeakFrame(f"<spell>Hello there!</spell>"), EndFrame()])
runner = PipelineRunner(handle_sigint=False)