Fixing ruff format.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user