-
Notifications
You must be signed in to change notification settings - Fork 67
Skip NSFW classification if treshold is 0.0 #583
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
Skip NSFW classification if treshold is 0.0 #583
Conversation
should be fine without, I think |
|
Rebasing after #585 introduced a merge conflict. |
Signed-off-by: Rory& <root@rory.gay>
Signed-off-by: Rory& <root@rory.gay>
7701485 to
b2564d4
Compare
|
This should now pass CI in theory - linter is happy. |
|
Made a mirror branch to enable the |
H-Shay
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
Co-authored-by: Shay <hillerys@element.io>
|
(Do you want me to squash the typo fix?) |
This PR adds the ability to skip NSFW processing if the sensitivity is set to 0.0.
This saves resources, and makes redactions happen faster, allowing it to be used as a generic "disallow images" protection.
I wonder if a setting to opt out of this behavior should be included, even though one could set the sensitivity to 0.0002 to opt out?