Remove pronouns from character helper
This commit is contained in:
@@ -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`.
|
- Reads back the seven optional images for a selected MiniMax H3 plan scene, for example by connecting the current `clip_index`.
|
||||||
|
|
||||||
- `Dumas Character Helper`
|
- `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`
|
- Outputs: `image1`, `image2`, `character_text`
|
||||||
- Passes both images through unchanged and builds a character reference string such as `<Picture 2> and <Picture 3> reference the same character who is called Dave.`
|
- Passes both images through unchanged and builds a character reference string such as `<Picture 2> and <Picture 3> 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`
|
- `Dumas JSON String to Object`
|
||||||
- Input: `json_string`
|
- Input: `json_string`
|
||||||
|
|||||||
@@ -316,7 +316,6 @@ def _build_character_helper_text(
|
|||||||
character_id,
|
character_id,
|
||||||
name,
|
name,
|
||||||
alias,
|
alias,
|
||||||
pronouns,
|
|
||||||
age,
|
age,
|
||||||
nationality,
|
nationality,
|
||||||
occupation,
|
occupation,
|
||||||
@@ -330,7 +329,6 @@ def _build_character_helper_text(
|
|||||||
character_name = _normalize_free_text(name)
|
character_name = _normalize_free_text(name)
|
||||||
character_id = _normalize_free_text(character_id)
|
character_id = _normalize_free_text(character_id)
|
||||||
alias = _normalize_free_text(alias)
|
alias = _normalize_free_text(alias)
|
||||||
pronouns = _normalize_free_text(pronouns)
|
|
||||||
nationality = _normalize_free_text(nationality)
|
nationality = _normalize_free_text(nationality)
|
||||||
occupation = _normalize_free_text(occupation)
|
occupation = _normalize_free_text(occupation)
|
||||||
accent = _normalize_free_text(accent)
|
accent = _normalize_free_text(accent)
|
||||||
@@ -366,9 +364,6 @@ def _build_character_helper_text(
|
|||||||
if alias:
|
if alias:
|
||||||
lines.append(f"{character_label} is also known as {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:
|
if age_value is not None:
|
||||||
lines.append(f"{character_label} is {age_value} years old.")
|
lines.append(f"{character_label} is {age_value} years old.")
|
||||||
|
|
||||||
@@ -853,14 +848,6 @@ class DumasCharacterHelperNode:
|
|||||||
"tooltip": "Optional alternate name, codename, or nickname.",
|
"tooltip": "Optional alternate name, codename, or nickname.",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
"pronouns": (
|
|
||||||
"STRING",
|
|
||||||
{
|
|
||||||
"default": "",
|
|
||||||
"multiline": False,
|
|
||||||
"tooltip": "Optional pronouns such as he/him or she/her.",
|
|
||||||
},
|
|
||||||
),
|
|
||||||
"age": (
|
"age": (
|
||||||
"STRING",
|
"STRING",
|
||||||
{
|
{
|
||||||
@@ -927,7 +914,6 @@ class DumasCharacterHelperNode:
|
|||||||
character_id,
|
character_id,
|
||||||
name,
|
name,
|
||||||
alias,
|
alias,
|
||||||
pronouns,
|
|
||||||
age,
|
age,
|
||||||
nationality,
|
nationality,
|
||||||
occupation,
|
occupation,
|
||||||
@@ -942,7 +928,6 @@ class DumasCharacterHelperNode:
|
|||||||
character_id,
|
character_id,
|
||||||
name,
|
name,
|
||||||
alias,
|
alias,
|
||||||
pronouns,
|
|
||||||
age,
|
age,
|
||||||
nationality,
|
nationality,
|
||||||
occupation,
|
occupation,
|
||||||
|
|||||||
@@ -252,7 +252,6 @@ class DumasImageNodeTests(unittest.TestCase):
|
|||||||
character_id="char_dave",
|
character_id="char_dave",
|
||||||
name="Dave",
|
name="Dave",
|
||||||
alias="The Locksmith",
|
alias="The Locksmith",
|
||||||
pronouns="he/him",
|
|
||||||
age="41",
|
age="41",
|
||||||
nationality="English",
|
nationality="English",
|
||||||
occupation="a detective",
|
occupation="a detective",
|
||||||
@@ -272,7 +271,6 @@ class DumasImageNodeTests(unittest.TestCase):
|
|||||||
"<Picture 3> is a frontal facial reference for Dave.\n"
|
"<Picture 3> is a frontal facial reference for Dave.\n"
|
||||||
'The character ID string is "char_dave".\n'
|
'The character ID string is "char_dave".\n'
|
||||||
"Dave is also known as The Locksmith.\n"
|
"Dave is also known as The Locksmith.\n"
|
||||||
"Dave uses he/him pronouns.\n"
|
|
||||||
"Dave is 41 years old.\n"
|
"Dave is 41 years old.\n"
|
||||||
"Dave is English.\n"
|
"Dave is English.\n"
|
||||||
"Dave works as a detective.\n"
|
"Dave works as a detective.\n"
|
||||||
@@ -295,7 +293,6 @@ class DumasImageNodeTests(unittest.TestCase):
|
|||||||
character_id="",
|
character_id="",
|
||||||
name="",
|
name="",
|
||||||
alias="",
|
alias="",
|
||||||
pronouns="",
|
|
||||||
age="unknown",
|
age="unknown",
|
||||||
nationality="",
|
nationality="",
|
||||||
occupation="",
|
occupation="",
|
||||||
|
|||||||
Reference in New Issue
Block a user