scraed / CharacteristicGuidanceWebUI

Provide large guidance scale correction for Stable Diffusion web UI (AUTOMATIC1111), implementing the paper "Characteristic Guidance: Non-linear Correction for Diffusion Model at Large Guidance Scale"
https://scraed.github.io/CharacteristicGuidance/
Apache License 2.0
78 stars 8 forks source link

Please add support for "AND" word. #6

Closed 954114865 closed 8 months ago

954114865 commented 8 months ago

While using default "AND" word or "AND_SALT" word by Neutral Prompt, it errors "RuntimeError: The size of tensor a (2) must match the size of tensor b (3) at non-singleton dimension 0". It won't happen while turns CharacteristicGuidance off.

scraed commented 8 months ago

Hi, sorry to hear that. Could you paste full info from the console?

scraed commented 8 months ago

I have added support for the default “AND”. But I’m not sure if it works with the Neutral Prompt extension.

954114865 commented 8 months ago

Thanks! It works now.