1.2 KiB
1.2 KiB
Negative Prompt Weight
This is a simple extension for the Stable Diffusion Web UI, which provides a weight parameter for the negative prompt.
Oh, and it writes the value to PNGinfo and supports XYZ Plot.
Usage
After installing, you can find the new slider called "Negative Prompt Weight" in the scripts section under NPW.
Installation
For now, clone this repo in your extensions folder, or manually create a folder in there and call it what you want, then copy the scripts folder of this repo in there.
How It's Done
At runtime a new learned conditioning empty_uncond is made from an empty prompt. Then at every step, inside the denoiser callback, the scheduled uncond of the denoiser (which is based on whatever prompt hijinks were passed to the parser) is lerped with the empty_uncond.
Comparisons and Stuff
...soon


