Clean SDXL imperative hand tags
This commit is contained in:
@@ -4685,6 +4685,8 @@ def smoke_sdxl_tag_policy() -> None:
|
||||
_expect("woman" not in subject_pair_tags and "man are mid-transition" not in subject_pair_tags, "SDXL tag splitter emitted broken paired character fragments")
|
||||
sentence_boundary_tags = sdxl_tag_policy.split_tag_text("keep hands on hips, breasts, thighs. Man watches close")
|
||||
sentence_boundary_tags_lower = [tag.lower() for tag in sentence_boundary_tags]
|
||||
_expect("hands on hips" in sentence_boundary_tags_lower, "SDXL tag splitter did not clean leading keep imperative")
|
||||
_expect("keep hands on hips" not in sentence_boundary_tags_lower, "SDXL tag splitter kept leading keep imperative")
|
||||
_expect("thighs" in sentence_boundary_tags, "SDXL tag splitter lost pre-period tag")
|
||||
_expect("man watches close" in sentence_boundary_tags_lower, "SDXL tag splitter did not split sentence-boundary tag")
|
||||
_expect(
|
||||
|
||||
Reference in New Issue
Block a user