diff --git a/README.md b/README.md index fd8bcd9..02004a9 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,10 @@ - Reads back the seven optional images for a selected MiniMax H3 plan scene, for example by connecting the current `clip_index`. - `Dumas Character Helper` - - Inputs: `image1`, `image2`, `image1_picture_id`, `image2_picture_id`, `character_id`, `name`, `alias`, `pronouns`, `age`, `nationality`, `occupation`, `height_feet`, `height_inches`, `accent`, `general` + - Inputs: `image1`, `image2`, `image1_picture_id`, `image2_picture_id`, `character_id`, `name`, `alias`, `age`, `nationality`, `occupation`, `height_feet`, `height_inches`, `accent`, `general` - Outputs: `image1`, `image2`, `character_text` - Passes both images through unchanged and builds a character reference string such as ` and reference the same character who is called Dave.` - - Appends optional sentences for non-visual facts such as ID, alias, pronouns, age, nationality, occupation, height, accent, and freeform notes only when those fields are valid and filled in. + - Appends optional sentences for non-visual facts such as ID, alias, age, nationality, occupation, height, accent, and freeform notes only when those fields are valid and filled in. - `Dumas JSON String to Object` - Input: `json_string` diff --git a/dumas_image_nodes.py b/dumas_image_nodes.py index 66859ab..8076c8a 100644 --- a/dumas_image_nodes.py +++ b/dumas_image_nodes.py @@ -316,7 +316,6 @@ def _build_character_helper_text( character_id, name, alias, - pronouns, age, nationality, occupation, @@ -330,7 +329,6 @@ def _build_character_helper_text( character_name = _normalize_free_text(name) character_id = _normalize_free_text(character_id) alias = _normalize_free_text(alias) - pronouns = _normalize_free_text(pronouns) nationality = _normalize_free_text(nationality) occupation = _normalize_free_text(occupation) accent = _normalize_free_text(accent) @@ -366,9 +364,6 @@ def _build_character_helper_text( if alias: lines.append(f"{character_label} is also known as {alias}.") - if pronouns: - lines.append(f"{character_label} uses {pronouns} pronouns.") - if age_value is not None: lines.append(f"{character_label} is {age_value} years old.") @@ -853,14 +848,6 @@ class DumasCharacterHelperNode: "tooltip": "Optional alternate name, codename, or nickname.", }, ), - "pronouns": ( - "STRING", - { - "default": "", - "multiline": False, - "tooltip": "Optional pronouns such as he/him or she/her.", - }, - ), "age": ( "STRING", { @@ -927,7 +914,6 @@ class DumasCharacterHelperNode: character_id, name, alias, - pronouns, age, nationality, occupation, @@ -942,7 +928,6 @@ class DumasCharacterHelperNode: character_id, name, alias, - pronouns, age, nationality, occupation, diff --git a/tests/test_dumas_image_nodes.py b/tests/test_dumas_image_nodes.py index c5763eb..a3cf631 100644 --- a/tests/test_dumas_image_nodes.py +++ b/tests/test_dumas_image_nodes.py @@ -252,7 +252,6 @@ class DumasImageNodeTests(unittest.TestCase): character_id="char_dave", name="Dave", alias="The Locksmith", - pronouns="he/him", age="41", nationality="English", occupation="a detective", @@ -272,7 +271,6 @@ class DumasImageNodeTests(unittest.TestCase): " is a frontal facial reference for Dave.\n" 'The character ID string is "char_dave".\n' "Dave is also known as The Locksmith.\n" - "Dave uses he/him pronouns.\n" "Dave is 41 years old.\n" "Dave is English.\n" "Dave works as a detective.\n" @@ -295,7 +293,6 @@ class DumasImageNodeTests(unittest.TestCase): character_id="", name="", alias="", - pronouns="", age="unknown", nationality="", occupation="",