Compare commits

...

1 Commits

Author SHA1 Message Date
James Hush
63c7a1aead Cartesia spell tag demo 2025-04-17 11:15:50 +08:00

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)