Keep softcore clothing stable during hard rerolls
This commit is contained in:
+13
-5
@@ -67,11 +67,15 @@ def build_insta_pair_rows_result(
|
||||
softcore_item_prompt_label: Callable[[str], str],
|
||||
pov_prompt_directive: Callable[[list[str]], str],
|
||||
pov_composition_prompt: Callable[[Any, list[str]], str],
|
||||
parsed_softcore_seed_config: dict[str, int] | None = None,
|
||||
parsed_hardcore_seed_config: dict[str, int] | None = None,
|
||||
style_config: str | dict[str, Any] | None = "",
|
||||
) -> InstaPairRowsRoute:
|
||||
soft_content_rng = axis_rng(parsed_seed_config, "content", seed, row_number + 311)
|
||||
hard_content_rng = axis_rng(parsed_seed_config, "content", seed, row_number + 317)
|
||||
soft_person_rng = axis_rng(parsed_seed_config, "person", seed, row_number)
|
||||
soft_seed_config = parsed_softcore_seed_config or parsed_seed_config
|
||||
hard_seed_config = parsed_hardcore_seed_config or parsed_seed_config
|
||||
soft_content_rng = axis_rng(soft_seed_config, "content", seed, row_number + 311)
|
||||
hard_content_rng = axis_rng(hard_seed_config, "content", seed, row_number + 317)
|
||||
soft_person_rng = axis_rng(soft_seed_config, "person", seed, row_number)
|
||||
|
||||
soft_expression_women_count = hard_women_count if options["softcore_cast"] == "same_as_hardcore" else 1
|
||||
soft_expression_men_count = hard_men_count if options["softcore_cast"] == "same_as_hardcore" else 0
|
||||
@@ -123,7 +127,7 @@ def build_insta_pair_rows_result(
|
||||
prepend_trigger_to_prompt=False,
|
||||
extra_positive="",
|
||||
extra_negative="",
|
||||
seed_config=parsed_seed_config,
|
||||
seed_config=soft_seed_config,
|
||||
women_count=1,
|
||||
men_count=0,
|
||||
expression_enabled=soft_expression_enabled,
|
||||
@@ -188,7 +192,7 @@ def build_insta_pair_rows_result(
|
||||
prepend_trigger_to_prompt=False,
|
||||
extra_positive="",
|
||||
extra_negative="",
|
||||
seed_config=parsed_seed_config,
|
||||
seed_config=hard_seed_config,
|
||||
women_count=hard_women_count,
|
||||
men_count=hard_men_count,
|
||||
expression_enabled=options["hardcore_expression_enabled"],
|
||||
@@ -251,6 +255,8 @@ def build_insta_pair_rows(
|
||||
softcore_item_prompt_label: Callable[[str], str],
|
||||
pov_prompt_directive: Callable[[list[str]], str],
|
||||
pov_composition_prompt: Callable[[Any, list[str]], str],
|
||||
parsed_softcore_seed_config: dict[str, int] | None = None,
|
||||
parsed_hardcore_seed_config: dict[str, int] | None = None,
|
||||
style_config: str | dict[str, Any] | None = "",
|
||||
) -> dict[str, Any]:
|
||||
return build_insta_pair_rows_result(
|
||||
@@ -259,6 +265,8 @@ def build_insta_pair_rows(
|
||||
seed=seed,
|
||||
active_trigger=active_trigger,
|
||||
parsed_seed_config=parsed_seed_config,
|
||||
parsed_softcore_seed_config=parsed_softcore_seed_config,
|
||||
parsed_hardcore_seed_config=parsed_hardcore_seed_config,
|
||||
options=options,
|
||||
ethnicity=ethnicity,
|
||||
figure=figure,
|
||||
|
||||
Reference in New Issue
Block a user