Add character-level InstaOF overrides
This commit is contained in:
+16
-1
@@ -307,6 +307,18 @@ def _pov_action_phrase(action: Any, pov_labels: list[str]) -> str:
|
||||
rendered = re.sub(r"\bhe\b", "the POV viewer", rendered, flags=re.IGNORECASE)
|
||||
rendered = re.sub(r"\bhim\b", "the POV viewer", rendered, flags=re.IGNORECASE)
|
||||
rendered = re.sub(r"\bhis\b", "the POV viewer's", rendered, flags=re.IGNORECASE)
|
||||
rendered = re.sub(
|
||||
r"\bthe POV viewer lies on the POV viewer's back under her\b",
|
||||
"the POV viewer reclines underneath her",
|
||||
rendered,
|
||||
flags=re.IGNORECASE,
|
||||
)
|
||||
rendered = re.sub(
|
||||
r"\bthe POV viewer lies on the POV viewer's back\b",
|
||||
"the POV viewer reclines",
|
||||
rendered,
|
||||
flags=re.IGNORECASE,
|
||||
)
|
||||
rendered = re.sub(r"\bthe POV viewer is positioned\b", "the POV camera is positioned", rendered, flags=re.IGNORECASE)
|
||||
return rendered
|
||||
|
||||
@@ -1595,7 +1607,10 @@ def _insta_pair_to_krea(row: dict[str, Any], detail_level: str, style_mode: str)
|
||||
hard_parts = [
|
||||
hard_action,
|
||||
_pov_camera_phrase(pov_labels),
|
||||
_natural_clothing_state(row.get("hardcore_clothing_state")),
|
||||
_natural_label_text(
|
||||
_filter_pov_labeled_clauses(_natural_clothing_state(row.get("hardcore_clothing_state")), pov_labels),
|
||||
hard_labels,
|
||||
),
|
||||
hard_cast_prose,
|
||||
f"set in {hard_scene}" if hard_scene else "",
|
||||
_expression_phrase(hard_expression),
|
||||
|
||||
Reference in New Issue
Block a user