[Community Pipeline] Add some feature for regional prompting pipeline#9874
[Community Pipeline] Add some feature for regional prompting pipeline#9874sayakpaul merged 12 commits intohuggingface:mainfrom
Conversation
|
Thanks for your PR! Do you maybe also want to update the README of regional prompting? |
|
@sayakpaul |
| ### Optional Parameters | ||
|
|
||
| - `save_mask`: In `Prompt` mode, choose whether to output the generated mask along with the image. The default is `False`. | ||
| - `base_ratio`: Used with `ADDBASE`. Sets the ratio of the base prompt; if base ratio is set to 0.2, then resulting images will consist of `20%*BASE_PROMPT + 80%*REGION_PROMPT` |
There was a problem hiding this comment.
Could maybe also specify the reference that introduced this technique?
There was a problem hiding this comment.
This technique was originally implemented in hako-mikan's regional-prompter, but not in the current community pipeline.
So, I don't think it's necessary to specify the reference again.
|
@cjkangme could you run |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
d2327e0 to
bb8bb74
Compare
|
@sayakpaul |
|
Hi |
|
was this pr tested? i'm getting runtime error since the merge: |
|
Hi I've fixed the affected line and created PR #10251 |
…#9874) * [Fix] fix bugs of regional_prompting pipeline * [Feat] add base prompt feature * [Fix] fix __init__ pipeline error * [Fix] delete unused args * [Fix] improve string handling * [Docs] docs to use_base in regional_prompting * make style --------- Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
What does this PR do?
Hi.
I am happily using a pipeline that implements Regional Prompting in the diffusers community pipeline.
While using the community pipeline, I created a PR as I thought it would be good to add the following:
Using Example
I tried to imitate this example
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.