Skip to content
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

LPW prompt for controlnet. #3171

Closed
aravind-h-v opened this issue Apr 20, 2023 · 5 comments
Closed

LPW prompt for controlnet. #3171

aravind-h-v opened this issue Apr 20, 2023 · 5 comments

Comments

@aravind-h-v
Copy link

Is your feature request related to a problem? Please describe.
Currently, controlnet pipelines donot support community pipelines, I was hoping this feature can be implemented ? I really liked the LPW feature from the community pipeline and have hacked up a solution following it:

https://github.com/aravind-h-v/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_controlnet.py

Is it possible to get a more elegant and official implementation of this feature (and possibly other community pipelines)?

Describe the solution you'd like
Implement community pipelines in controlnet SD pipelines

Describe alternatives you've considered
Manually copy code from LPW pipeline into controlnet pipeline

Additional context

@patrickvonplaten
Copy link
Contributor

Note that we don't actively maintain the LPW pipeline. You can instead make use of the compel library: https://huggingface.co/docs/diffusers/using-diffusers/weighted_prompts

@aravind-h-v
Copy link
Author

Thanks for pointing this out!

@aravind-h-v
Copy link
Author

Hi again, sorry for posting this again. In regular LPW prompts, we can use negative prompts too right, is it equivalent to using [prompt]-- in compel?

@patrickvonplaten
Copy link
Contributor

Hey @aravind-h-v,

Could you maybe ask this question directly on the compel library: https://github.com/damian0815/compel

@aravind-h-v
Copy link
Author

Got this figured out, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants