From 68f265fa627d080550346ad916119dc271b08335 Mon Sep 17 00:00:00 2001 From: filipi87 Date: Tue, 12 May 2026 18:28:14 -0300 Subject: [PATCH] Fixing ruff format. --- src/pipecat/services/nvidia/sagemaker/tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/services/nvidia/sagemaker/tts.py b/src/pipecat/services/nvidia/sagemaker/tts.py index 46ae10d4a..e6737a5f9 100644 --- a/src/pipecat/services/nvidia/sagemaker/tts.py +++ b/src/pipecat/services/nvidia/sagemaker/tts.py @@ -171,7 +171,7 @@ class NvidiaSageMakerHTTPTTSService(TTSService): """ logger.debug(f"{self}: Generating TTS [{text}]") - text = sanitize_text_for_tts(text) + text = text.strip() if not text or not any(c.isalnum() for c in text): return