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
TypeError when filtering prompts for potential unsafe words #125
Comments
What are the steps to reproduce this @benrugg ? |
@convexholl just run like normal. I think I've only tested it with img2img:
|
@benrugg Your issue seems to be coming from here replace line 88 of
|
@convexholl thank you for looking into this. I appreciate this answer, but I'm not necessarily looking to fork the stability sdk to fix this issue just for me. I was hoping to raise this so it can be addressed for everyone! |
Using this prompt generates a
TypeError
inutils.truncate_fit
:Cute young boy playing with an adorable dragon puppy by a stream in a sunny daylight forest
I'm all for filtering potentially unsafe words/images, but I'm assuming the expected behavior is to return an error message of some kind, rather than throwing the error.
Here is the error log:
The text was updated successfully, but these errors were encountered: