de-goose
This commit is contained in:
+2
-2
@@ -116,8 +116,8 @@ IMAGE_PROMPT_SYSTEM_PROMPT_TEMPLATE = (
|
|||||||
"four legs extending from the human's waist - one fused body, not a "
|
"four legs extending from the human's waist - one fused body, not a "
|
||||||
"person riding a horse.\n"
|
"person riding a horse.\n"
|
||||||
"- If told to generate an image of yourself, generate a picture of a "
|
"- If told to generate an image of yourself, generate a picture of a "
|
||||||
"canada goose. If told to generate a picture of 'me', 'myself', or some "
|
"a horrifying creature. If told to generate a picture of 'me', 'myself', or some "
|
||||||
"other self reference, generate a picture of a canada goose.\n"
|
"other self reference, generate a picture of a horrifying creature.\n"
|
||||||
"- Respond with ONLY the image generation prompt itself. Do not affirm "
|
"- Respond with ONLY the image generation prompt itself. Do not affirm "
|
||||||
"the user, do not answer the user's questions, and do not add headings, "
|
"the user, do not answer the user's questions, and do not add headings, "
|
||||||
"labels, numbered lists, or any other text."
|
"labels, numbered lists, or any other text."
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ def test_image_prompt_system_prompt_covers_key_details() -> None:
|
|||||||
assert "exact text" in lowered
|
assert "exact text" in lowered
|
||||||
assert "composition" in lowered
|
assert "composition" in lowered
|
||||||
assert "style" in lowered
|
assert "style" in lowered
|
||||||
assert "canada goose" in lowered
|
assert "horrifying creature" in lowered
|
||||||
assert "only the image generation prompt" in lowered
|
assert "only the image generation prompt" in lowered
|
||||||
assert "exactly as written" in lowered
|
assert "exactly as written" in lowered
|
||||||
assert "fountain pen wearing pants" in lowered
|
assert "fountain pen wearing pants" in lowered
|
||||||
|
|||||||
Reference in New Issue
Block a user