Audit metadata prompt fallback boundaries
This commit is contained in:
+1
-1
@@ -398,7 +398,7 @@ def _style_phrase(row: dict[str, Any], style_mode: str) -> str:
|
||||
if style_mode == "photographic":
|
||||
return "realistic creator-shot photography with natural lighting, tactile skin and fabric detail, and clean social-media composition"
|
||||
style = _clean(row.get("style"))
|
||||
suffix = _clean(row.get("positive_suffix")) or _prompt_field(_clean(row.get("prompt")), "Use")
|
||||
suffix = _clean(row.get("positive_suffix"))
|
||||
if style and suffix:
|
||||
return f"{style}; {suffix}"
|
||||
return style or suffix
|
||||
|
||||
Reference in New Issue
Block a user