From 978bc7af57bbf1ec41438ec5bfd8574b77f6da4d Mon Sep 17 00:00:00 2001 From: nullquant Date: Sat, 11 May 2024 12:31:45 +0300 Subject: [PATCH] powerpaint embeds --- brushnet_nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brushnet_nodes.py b/brushnet_nodes.py index 65dfa55..8b53064 100644 --- a/brushnet_nodes.py +++ b/brushnet_nodes.py @@ -294,7 +294,7 @@ class PowerPaint: torch_dtype, conditioning_latents, (brushnet_conditioning_scale, control_guidance_start, control_guidance_end), - prompt_embeds_pp, negative_prompt_embeds_pp, + negative_prompt_embeds_pp, prompt_embeds_pp, None, None, None) latent = torch.zeros([batch, 4, conditioning_latents[0].shape[2], conditioning_latents[0].shape[3]], device=powerpaint['brushnet'].device)