From 8abda808ca7bb23cf8d8b1b050c6e64510b54355 Mon Sep 17 00:00:00 2001 From: sathwika Date: Tue, 7 Apr 2026 18:41:50 +0530 Subject: [PATCH] Add Nvidia copyright header --- src/pipecat/services/nvidia/tts.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pipecat/services/nvidia/tts.py b/src/pipecat/services/nvidia/tts.py index 558793593..e6a4e2e74 100644 --- a/src/pipecat/services/nvidia/tts.py +++ b/src/pipecat/services/nvidia/tts.py @@ -1,5 +1,6 @@ # # Copyright (c) 2024-2026, Daily +# Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. # # SPDX-License-Identifier: BSD 2-Clause License # @@ -379,8 +380,9 @@ class NvidiaTTSService(TTSService): def _synthesis_thread_handler(self): """Run ``SynthesizeOnline`` gRPC stream in a background thread. - Builds request objects directly to avoid a Python 3.12 compatibility - bug in ``riva.client.SpeechSynthesisService.synthesize_online``. + Uses a queue-backed generator to feed text chunks into a single + ``SynthesizeOnline`` call, enabling Magpie's cross-sentence stitching. + Audio responses are forwarded to the async response queue. """ base_req = self._build_base_request()