Clean SDXL expression labels

This commit is contained in:
2026-06-27 22:10:35 +02:00
parent 7f6bf0ffd8
commit c74798d80f
3 changed files with 20 additions and 0 deletions
+12
View File
@@ -4815,6 +4815,18 @@ def smoke_sdxl_tag_routes() -> None:
).as_text()
_expect("tall-window depth behind them composition" not in composition_label_tags, "SDXL route kept raw composition label tag")
_expect("tall-window depth behind them" in composition_label_tags, "SDXL route lost composition detail while removing label")
expression_label_row = _fixture_hardcore_row(
character_expression_text="Woman A has focused gaze; Man A has steady expression",
expression="stale expression",
)
expression_label_tags = sdxl_tag_routes.row_core_tags_result(
sdxl_tag_routes.SDXLRowTagRequest(expression_label_row, 1.29),
deps,
).as_text()
_expect("woman has" not in expression_label_tags.lower(), "SDXL route kept woman-has expression label")
_expect("man has" not in expression_label_tags.lower(), "SDXL route kept man-has expression label")
_expect("focused gaze" in expression_label_tags, "SDXL route lost cleaned woman expression")
_expect("steady expression" in expression_label_tags, "SDXL route lost cleaned man expression")
stale_prompt_row = _fixture_hardcore_row(
prompt="stale raw prompt mentions fully nude naked pussy penis oral anal semen penetration",
item="standing portrait setup",