-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add prompt emphasis and length check #27
Comments
https://github.com/ssube/onnx-web/tree/feat/27-lpw enables the long prompt weighting pipeline, but doesn't work, with one of two errors depending on whether the negative prompt was supplied:
or
It seems like something else is passing an integer negative prompt, but I'm not sure what/where. |
The
Working:
Not working:
Karras Ve is failing with a different error, which is probably unrelated:
|
This was merged, but I forgot it broke some schedulers, so now that needs to be fixed. |
Implement
((emphasis)) and [deemphasis]
following the same syntax from diffusers, https://github.com/huggingface/diffusers/blob/main/examples/community/lpw_stable_diffusion_onnx.py#L78, and as documented in https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#attentionemphasis.(increase:N)
(increase:1.1)
((increase:1.21))
[decrease:N]
[decrease:1.1]
[decrease:1.21]
Optionally support the
{}
syntax and 1.05 base weight as well.The text was updated successfully, but these errors were encountered: