Keep SDXL character tags metadata driven
This commit is contained in:
+1
-5
@@ -162,11 +162,7 @@ def character_tags_from_descriptor(descriptor: Any) -> list[str]:
|
||||
|
||||
|
||||
def normal_character_tags(row: dict[str, Any]) -> list[str]:
|
||||
descriptor = (
|
||||
clean(row.get("cast_descriptor_text"))
|
||||
or prompt_field(row.get("prompt", ""), "Characters")
|
||||
or prompt_field(row.get("prompt", ""), "Cast descriptors")
|
||||
)
|
||||
descriptor = clean(row.get("cast_descriptor_text"))
|
||||
if descriptor:
|
||||
return character_tags_from_descriptor(descriptor)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user