Clean SDXL composition tags
This commit is contained in:
@@ -4806,6 +4806,15 @@ def smoke_sdxl_tag_routes() -> None:
|
||||
_expect("27-year-old adult" in stale_character_route_tags, "SDXL route lost structured character age")
|
||||
_expect("warm olive skin" in stale_character_route_tags, "SDXL route lost structured character skin")
|
||||
_expect("stale" not in stale_character_route_tags, "SDXL route should not parse stale prompt character labels")
|
||||
composition_label_row = _fixture_hardcore_row(
|
||||
composition="coworking lounge frame with tall-window depth behind them composition",
|
||||
)
|
||||
composition_label_tags = sdxl_tag_routes.row_core_tags_result(
|
||||
sdxl_tag_routes.SDXLRowTagRequest(composition_label_row, 1.29),
|
||||
deps,
|
||||
).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")
|
||||
stale_prompt_row = _fixture_hardcore_row(
|
||||
prompt="stale raw prompt mentions fully nude naked pussy penis oral anal semen penetration",
|
||||
item="standing portrait setup",
|
||||
|
||||
Reference in New Issue
Block a user