Refine character helper reference text
This commit is contained in:
@@ -321,6 +321,7 @@ def _build_character_helper_text(
|
||||
lines = [
|
||||
first_line,
|
||||
f"<Picture {primary_picture}> is the primary full-body reference for {character_label}.",
|
||||
f"<Picture {secondary_picture}> is a frontal facial reference for {character_label}.",
|
||||
]
|
||||
|
||||
if character_id:
|
||||
|
||||
@@ -264,6 +264,7 @@ class DumasImageNodeTests(unittest.TestCase):
|
||||
(
|
||||
"<Picture 2> and <Picture 3> reference the same character who is called Dave.\n"
|
||||
"<Picture 2> is the primary full-body reference for Dave.\n"
|
||||
"<Picture 3> is a frontal facial reference for Dave.\n"
|
||||
'The character ID string is "char_dave".\n'
|
||||
"Dave is 6'2\" tall.\n"
|
||||
"Dave has a northern English accent.\n"
|
||||
@@ -293,7 +294,8 @@ class DumasImageNodeTests(unittest.TestCase):
|
||||
result[2],
|
||||
(
|
||||
"<Picture 4> and <Picture 6> reference the same character.\n"
|
||||
"<Picture 4> is the primary full-body reference for the character."
|
||||
"<Picture 4> is the primary full-body reference for the character.\n"
|
||||
"<Picture 6> is a frontal facial reference for the character."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user