MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / whitespace_clean

Function whitespace_clean

pipelines/pipeline_wan_i2v_motion.py:109–112  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

107
108
109def whitespace_clean(text):
110 text = re.sub(r"\s+", " ", text)
111 text = text.strip()
112 return text
113
114
115def prompt_clean(text):

Callers 1

prompt_cleanFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected