Clean atlas Krea prompt output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user