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

fix(image-to-video): enhance error handling for width/height parameters #32

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

rickstaa
Copy link
Collaborator

@rickstaa rickstaa commented Mar 12, 2024

This pull request improves the error handling for the width and height parameters in the image-to-video pipeline. It ensures that a
detailed JSON error response is returned when the width and/or height parameters are not divisible by 8, as required by the
StableVideoDiffusion pipeline. This enhancement aids in better debugging and user experience.

This commit improves the error handling for the width and height
parameters in the image-to-video pipeline. It ensures that a
detailed JSON error response is returned when the width and/or height
parameters are not divisible by 8, as required by the
[StableVideoDiffusion](https://github.com/livepeer/ai-worker/blob/907b8c203efa475c41f4c8325f20812da9b92d34/runner/app/routes/image_to_video.py#L55)
pipeline. This enhancement aids in better debugging and user experience.
@rickstaa rickstaa marked this pull request as draft March 12, 2024 13:29
@rickstaa
Copy link
Collaborator Author

LIV-84

@rickstaa rickstaa marked this pull request as ready for review March 12, 2024 13:56
Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

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

LGTM!

@yondonfu yondonfu merged commit 26f5fc1 into main Mar 12, 2024
1 check passed
@yondonfu yondonfu deleted the fix_LIV_84 branch March 12, 2024 23:11
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