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

raise exception on invalid images #999

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

leot13
Copy link
Contributor

@leot13 leot13 commented Sep 8, 2023

What does this PR do?

This PR is meant to handle cases in which the images provided are invalid.

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.

@Narsil

@leot13 leot13 marked this pull request as ready for review September 8, 2023 12:46
@leot13 leot13 requested a review from Narsil September 8, 2023 12:46
@Narsil
Copy link
Collaborator

Narsil commented Sep 8, 2023

Doesn't this also crash the webserver ?

@Narsil Narsil merged commit b8fefa6 into huggingface:main Oct 3, 2023
2 of 6 checks passed
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.

2 participants