Skip to content

Support one-string prompts and custom image size in LDM - #212

Merged
anton-l merged 2 commits into
mainfrom
ldm-str-prompts
Aug 18, 2022
Merged

Support one-string prompts and custom image size in LDM#212
anton-l merged 2 commits into
mainfrom
ldm-str-prompts

Conversation

@anton-l

Copy link
Copy Markdown
Member

Fixes#211

Makes sure that LDMTextToImagePipeline can be called with pipe("some prompt"), similar to StableDiffusionPipeline

@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Aug 18, 2022

Copy link
Copy Markdown

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

@anton-l

Copy link
Copy Markdown
MemberAuthor

note to self: add type hints and custom image sizes to LDM as well

@patil-surajpatil-suraj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Let's also add custom height, width support for this. Think this should pretty much look like stable-dffusion pipeline.

@anton-lanton-l changed the title Support one-string prompts in LDMSupport one-string prompts and custom image size in LDMAug 18, 2022
@anton-l

Copy link
Copy Markdown
MemberAuthor

@patil-suraj yep, decided to bundle them here too

@pcuencapcuenca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me, and it works fine too!

@anton-l
anton-l merged commit e30e1b8 into mainAug 18, 2022
@anton-l
anton-l deleted the ldm-str-prompts branch August 18, 2022 15:55
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
)
* Support one-string prompts in LDM
* Add other features from SD too
Sign up for freeto 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.

Exception raised in LDMTextToImagePipeline

4 participants

@anton-l@HuggingFaceDocBuilderDev@pcuenca@patil-suraj