Bing-su / asdff

GNU Affero General Public License v3.0
50 stars 14 forks source link

How do you load textual inversion checkpoints on this? #3

Open sarmientoj24 opened 1 year ago

sarmientoj24 commented 1 year ago

In the UI, I was able to load my checkpoints and use it as main prompt. It works wonders.

Additionally, how do I design it so that it is similar to the A1111 workflow:

  1. I generate an image with StableDiffusionPipeline
  2. Send the image to adetailer with prompt that uses textual inversion token
  3. It outputs a refined image
JemiloII commented 1 year ago

The asdff pipeline inherits everything from the stable diffusion Pipeline.

The only difference is that you use the callback pipe(), pass the usual settings to a dict called custom. No need to pass things around. Load the textual inversions as normal.