Clean atlas Krea prompt output

This commit is contained in:
2026-06-30 23:42:20 +02:00
parent caeafa0714
commit f8f2fb43df
5 changed files with 68 additions and 43 deletions
+2
View File
@@ -124,6 +124,8 @@ def _filter_expression_for_krea2_variant(row: dict[str, Any], expression: Any) -
def _filter_camera_scene_for_krea2_variant(row: dict[str, Any], camera_scene: Any) -> str:
text = str(camera_scene or "")
if _has_krea2_atlas_variant(row):
return ""
if (_has_krea2_oral_contact_variant(row) or _has_krea2_top_down_variant(row)) and "eye-level" in text.lower():
return ""
return text