Additional characters added
This commit is contained in:
@@ -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 ""
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user