Centralize softcore pair wording

This commit is contained in:
2026-06-27 16:32:32 +02:00
parent c69274d2ee
commit 9cd1f03bfe
11 changed files with 115 additions and 34 deletions
+3 -1
View File
@@ -4,8 +4,10 @@ from typing import Any, Callable
try:
from . import row_normalization as row_policy
from . import softcore_text_policy
except ImportError: # Allows local smoke tests with `python tools/prompt_smoke.py`.
import row_normalization as row_policy
import softcore_text_policy
def _labeled_expression_sentence(label: str, expression: Any) -> str:
@@ -84,7 +86,7 @@ def assemble_insta_pair_metadata(
f"{_labeled_expression_sentence('Facial expression', soft_row.get('expression'))}"
f"Composition: {soft_row['composition']}. "
f"{soft_camera_sentence}"
"Keep the softcore version seductive, creator-shot, and styled as a soft teaser. "
f"{softcore_text_policy.softcore_style_directive()} "
f"{soft_row['positive_suffix']}."
)
hard_prompt = (