MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / safe_str

Function safe_str

diffsynth/prompters/omost.py:95–96  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

93}
94
95def safe_str(x):
96 return x.strip(',. ') + '.'
97
98def closest_name(input_str, options):
99 input_str = input_str.lower()

Callers 2

add_local_descriptionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected