Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gadersd/stable-diffusion-burn
/ whitespace_clean
Function
whitespace_clean
python/dump.py:472–475 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
470
return
pairs
471
472
def
whitespace_clean(text):
473
text = re.sub(r
'\s+'
,
' '
, text)
474
text = text.strip()
475
return
text
476
477
def
bytes_to_unicode():
478
""
"
Callers
1
encode
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected