We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2cc207 commit 9edee8dCopy full SHA for 9edee8d
examples/community/regional_prompting_stable_diffusion.py
@@ -129,7 +129,7 @@ def __call__(
129
self.power = int(rp_args["power"]) if "power" in rp_args else 1
130
131
prompts = prompt if isinstance(prompt, list) else [prompt]
132
- n_prompts = negative_prompt if isinstance(prompt, list) else [negative_prompt]
+ n_prompts = negative_prompt if isinstance(negative_prompt, list) else [negative_prompt]
133
self.batch = batch = num_images_per_prompt * len(prompts)
134
135
if use_base:
0 commit comments