Merge pull request #157 from felixsanz/patch-1

Added negative_prompt to pipeline
pull/140/merge
InstantX 2024-02-24 23:59:16 +07:00 committed by GitHub
commit 8413732ea1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ negative_prompt = "ugly, deformed, noisy, blurry, low contrast, realism, photore
# generate image
image = pipe(
prompt,
negative_prompt=negative_prompt,
image_embeds=face_emb,
image=face_kps,
controlnet_conditioning_scale=0.8,