Skip to content

Commit 1a1e519

Browse files
committed
another prompt for lpw
1 parent 03fe922 commit 1a1e519

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ppdiffusers/examples/community/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,12 @@ import paddle
217217
from lpw_stable_diffusion import StableDiffusionLongPromptWeightingPipeline
218218

219219
pipe = StableDiffusionLongPromptWeightingPipeline.from_pretrained(
220-
"hakurei/waifu-diffusion", paddle_dtype=paddle.float16)
220+
"hakurei/waifu-diffusion",
221+
paddle_dtype=paddle.float16,
222+
)
221223

222-
prompt = "(masterpiece:1.3)(best_quality:1.3)(girl:1.3) bow bride brown_hair closed_mouth frilled_bow frilled_hair_tubes frills (full_body:1.3) fox_ear hair_bow hair_tubes happy hood japanese_clothes kimono long_sleeves red_bow smile solo tabi uchikake white_kimono wide_sleeves cherry_blossoms"
223-
neg_prompt = "lowres, bad_anatomy, error_body, error_hair, error_arm, error_hands, bad_hands, error_fingers, bad_fingers, missing_fingers, error_legs, bad_legs, multiple_legs, missing_legs, error_lighting, error_shadow, error_reflection, text, error, extra_digit, fewer_digits, cropped, worst_quality, low_quality, normal_quality, jpeg_artifacts, signature, watermark, username, blurry"
224+
prompt = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
225+
neg_prompt = "lowres, bad_anatomy, error_body, error_hair, error_arm, (error_hands, bad_hands, error_fingers, bad_fingers, missing_fingers) error_legs, bad_legs, multiple_legs, missing_legs, error_lighting, error_shadow, error_reflection, text, error, extra_digit, fewer_digits, cropped, worst_quality, low_quality, normal_quality, jpeg_artifacts, signature, watermark, username, blurry"
224226

225227
generator = paddle.Generator().manual_seed(0)
226228

@@ -237,4 +239,4 @@ images[0].save("lpw.png")
237239

238240
上述代码生成结果如下
239241

240-
<center><img src="https://user-images.githubusercontent.com/40912707/221176773-e33044c6-f8e1-449c-bd20-9aae9fcbdf64.png" style="zoom:50%"/></center>
242+
<center><img src="https://user-images.githubusercontent.com/40912707/221503299-24055b14-0b07-4f94-b7f9-d4f84b492540.png" style="zoom:50%"/></center>

0 commit comments

Comments
 (0)