MCPcopy Create free account
hub / github.com/Lightricks/ComfyUI-LTXVideo / clean_response

Function clean_response

gemma_encoder.py:283–290  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

281
282
283def clean_response(text):
284 text = text.translate(_UNICODE_REPLACEMENTS)
285
286 # Remove leading non-letter characters
287 for i, char in enumerate(text):
288 if char.isalpha():
289 return text[i:]
290 return text
291
292
293@comfy_node(name="LTXVGemmaEnhancePrompt", description="Gemma 3 Prompt Enhancer")

Callers 1

enhanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected