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

[Community Pipelines] Long Prompt Weighting Stable Diffusion Pipelines #907

Merged
merged 6 commits into from
Oct 19, 2022

Conversation

SkyTNT
Copy link
Contributor

@SkyTNT SkyTNT commented Oct 19, 2022

The Pipeline lets you input prompt without 77 token length limit. And you can increase words weighting by using "()" or decrease words weighting by using "[]".

The Pipeline also lets you use the main use cases of the stable diffusion pipeline in a single class.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 19, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @SkyTNT - thanks a lot :-)

@patrickvonplaten patrickvonplaten merged commit 2a0c823 into huggingface:main Oct 19, 2022
prathikr pushed a commit to prathikr/diffusers that referenced this pull request Oct 26, 2022
huggingface#907)

* [Community Pipelines] Long Prompt Weighting

* Update README.md

* fix

* style

* fix style

* Update examples/community/README.md

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
Build with pyinstaller.exe .\apps\stable_diffusion\web\shark_sd.spec

normal flow works. exe is missing a few json files
@damian0815
Copy link
Contributor

damian0815 commented Mar 9, 2023

in case anyone still needs this, https://github.com/damian0815/compel - a modular diffusers-friendly toolbox that means you can get prompt weighting in 3 lines of code for any existing diffusers pipeline - also supports "long prompts" as of v0.1.10

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

Successfully merging this pull request may close these issues.

4 participants