Fixing ruff format.

This commit is contained in:
filipi87
2026-05-12 18:28:14 -03:00
parent b9f052079d
commit 68f265fa62

View File

@@ -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