Naturalize Krea single appearance grammar
This commit is contained in:
@@ -1432,6 +1432,24 @@ def smoke_krea_normal_row_routes() -> None:
|
||||
"style": "realistic creator-shot photography",
|
||||
}
|
||||
_expect_krea_normal_route_parity(single, "krea_normal_single", "metadata(single)")
|
||||
single_figure_note = dict(
|
||||
single,
|
||||
body_phrase="slim busty figure with soft, natural fullness up top and a small waist",
|
||||
)
|
||||
figure_note_prompt, figure_note_method = krea_formatter._normal_row_to_krea(
|
||||
single_figure_note,
|
||||
"balanced",
|
||||
"preserve",
|
||||
)
|
||||
_expect(figure_note_method == "metadata(single)", "Krea single figure-note route changed method")
|
||||
_expect(
|
||||
"adult woman, with slim busty figure with" not in figure_note_prompt,
|
||||
"Krea single route kept old comma-with figure grammar",
|
||||
)
|
||||
_expect(
|
||||
"adult woman, showing slim busty figure with" in figure_note_prompt,
|
||||
"Krea single route did not naturalize figure-note appearance",
|
||||
)
|
||||
style_metadata = dict(
|
||||
single,
|
||||
style="metadata style phrase",
|
||||
|
||||
Reference in New Issue
Block a user