Centralize softcore pair wording
This commit is contained in:
+3
-1
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user