cassiebreviu / StableDiffusion

Inference Stable Diffusion with C# and ONNX Runtime
MIT License
218 stars 49 forks source link

Negative Prompt support added #35

Closed saddam213 closed 9 months ago

saddam213 commented 10 months ago

Re-opened a new PR as the last one was closed due to mistaken branch deletion

Add initial support for Negative prompting

  1. Add Negative Prompt input string
  2. Populate UncondInput with Tokens if provided
  3. Add Negative Prompt to example

Still both limited to 77 tokens each due to the CLIP limitation