Clean SDXL expression labels
This commit is contained in:
@@ -56,6 +56,7 @@ def split_tag_text(text: Any) -> list[str]:
|
||||
text = re.sub(r"\bMan [A-Z]'s\b", "man's", text)
|
||||
text = re.sub(r"\bWoman [A-Z]\b", "woman", text)
|
||||
text = re.sub(r"\bMan [A-Z]\b", "man", text)
|
||||
text = re.sub(r"\b(?:the\s+)?(?:woman|man)\s+has\s+", "", text, flags=re.IGNORECASE)
|
||||
text = re.sub(
|
||||
r"\b(?:Clothing state|Visual clothing state|visible remaining styling|teaser outfit detail|softcore visual reference|Sexual scene|Role graph):\s*",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user