Additional characters added

This commit is contained in:
Aodhan Collins
2026-03-04 21:49:43 +00:00
parent 644ab104d9
commit 30eafc941e
52 changed files with 344 additions and 50 deletions

View File

@@ -30,13 +30,13 @@ class CharacterJsonReader:
"STRING", "STRING", "STRING", "STRING", "STRING", "STRING", "STRING", "STRING", "STRING", "STRING", "STRING", "STRING",
"STRING", "STRING", "STRING", "STRING", "STRING", "STRING",
"STRING", "STRING", "STRING", "STRING",
"STRING", "FLOAT", "STRING", "INT"
"STRING", "FLOAT", "STRING", "INT", "STRING"
)
RETURN_NAMES = (
"name", "base_specs", "hair", "eyes", "expression", "hands", "arms", "torso", "pelvis", "legs", "feet", "distinguishing_marks",
"inner_layer", "outer_layer", "lower_body", "footwear", "gloves", "accessories",
"aesthetic", "primary_color", "secondary_color", "tertiary_color",
"lora_name", "lora_weight", "lora_triggers", "total_characters"
"lora_name", "lora_weight", "lora_triggers", "total_characters", "tags"
)
FUNCTION = "read_character"
@@ -129,4 +129,5 @@ class CharacterJsonReader:
float(lora.get("lora_weight", 0.0) if lora.get("lora_weight") else 0.0),
get_val(lora, "lora_triggers"),
len(characters),
", ".join(data.get("tags", [])) if isinstance(data.get("tags"), list) else ""
)