Improve paired cast continuity and wording

This commit is contained in:
2026-06-24 10:57:46 +02:00
parent a1c6dc2391
commit 51d351679f
5 changed files with 184 additions and 8 deletions
+13 -1
View File
@@ -2823,6 +2823,18 @@ def figure_pool(mode: str) -> list:
return FIGURE_CURVY # 'curvy' default: voluptuous-leaning mix
def make_body_phrase(body: str, figure_note: str = "") -> str:
body = str(body or "").strip()
figure_note = str(figure_note or "").strip()
if not body:
return figure_note
if not figure_note:
return f"{body} figure"
if "figure" in figure_note.lower():
return f"{body} build and {figure_note}"
return f"{body} figure with {figure_note}"
def choose_woman(rng: random.Random, ethnicity: str = "any", no_plus: bool = False, no_black: bool = False):
young = by_ethnicity(YOUNG_WOMEN, ethnicity)
mature = by_ethnicity(MATURE_WOMEN, ethnicity)
@@ -2889,7 +2901,7 @@ def make_single(index: int, batch: int, rng: random.Random, gender: str, expr_de
subject, age, body, skin, hair, eyes = choose(rng, men_pool)
clothes = choose(rng, MEN_CLOTHES_MINIMAL if minimal else MEN_CLOTHES)
figure_note = ""
body_phrase = f"{body} figure with {figure_note}" if figure_note else f"{body} figure"
body_phrase = make_body_phrase(body, figure_note)
scene_slug, scene = choose(rng, SCENES)
if poses == "evocative":