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

Correct type annotation for VaeImageProcessor.numpy_to_pil #6111

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Correct type annotation for VaeImageProcessor.numpy_to_pil #6111

merged 1 commit into from
Dec 11, 2023

Conversation

edwardwli
Copy link
Contributor

What does this PR do?

Correct type annotation for VaeImageProcessor.numpy_to_pil from (np.ndarray) -> PIL.Image.Image to (np.ndarray) -> List[PIL.Image.Image].

Before submitting

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.

From `(np.ndarray) -> PIL.Image.Image` to `(np.ndarray) -> List[PIL.Image.Image]`.
@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.

@sayakpaul sayakpaul merged commit 664e931 into huggingface:main Dec 11, 2023
14 checks passed
@edwardwli edwardwli deleted the patch-1 branch December 13, 2023 02:06
donhardman pushed a commit to donhardman/diffusers that referenced this pull request Dec 18, 2023
…face#6111)

From `(np.ndarray) -> PIL.Image.Image` to `(np.ndarray) -> List[PIL.Image.Image]`.
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
…face#6111)

From `(np.ndarray) -> PIL.Image.Image` to `(np.ndarray) -> List[PIL.Image.Image]`.
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
…face#6111)

From `(np.ndarray) -> PIL.Image.Image` to `(np.ndarray) -> List[PIL.Image.Image]`.
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.

3 participants