Skip to content

Conversation

@SahilCarterr
Copy link
Contributor

What does this PR do?

Raised an Error when len(gligen_images ) is not equal to len(gligen_phrases) in StableDiffusionGLIGENTextImagePipeline
Fixes #10172

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed.
@yiyixuxu

@HuggingFaceDocBuilderDev

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.

Copy link
Contributor

@hlky hlky left a comment

Choose a reason for hiding this comment

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

Thanks @SahilCarterr!

@abcdefg133hi
Copy link

Many Thanks @hlky and @SahilCarterr for addressing the issue.

@hlky hlky merged commit d041dd5 into huggingface:main Dec 11, 2024
15 checks passed
@SahilCarterr SahilCarterr deleted the sd_gligen branch December 11, 2024 09:00
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
…es) in StableDiffusionGLIGENTextImagePipeline (#10176)

* added check value error

* fix style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Raise an error when len(gligen_images ) is not equal to len(gligen_phrases) in StableDiffusionGLIGENTextImagePipeline

4 participants