We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of throwing value error, wouldn't it better to log warning message and truncate prompt as needed?
The text was updated successfully, but these errors were encountered:
Silent errors are a lot worse than explicit errors. This is why we require value_range, don't have defaults for bounding box format, etc.
Sorry, something went wrong.
Silent errors are a lot worse than explicit errors.
Agree. That's why warning message comes in. I wasn't suggesting silently auto-truncate. IMO, value eror is bit heavy here for the above if condition.
@LukeWood Please, check this.
https://github.com/huggingface/diffusers/blob/91925fbb761d944d54271660c4c3cffee55798fa/examples/community/seed_resize_stable_diffusion.py#L201-L202
divamgupta/stable-diffusion-tensorflow#20
No branches or pull requests
Instead of throwing value error, wouldn't it better to log warning message and truncate prompt as needed?
The text was updated successfully, but these errors were encountered: