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

Use FalconsAI nsfw checker to reduce our false positives #22

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

fofr
Copy link
Collaborator

@fofr fofr commented Sep 4, 2024

https://huggingface.co/Falconsai/nsfw_image_detection

We're keeping the CompVis safety checker because it's fast. But it has a really bad false positive ratio.

If CompVis flags an image, we will double check it with FalconsAI detector, which is more permissive but a little slower.

@fofr fofr requested a review from andreasjansson September 4, 2024 14:35
Copy link
Member

@andreasjansson andreasjansson left a comment

Choose a reason for hiding this comment

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

🚢

@andreasjansson andreasjansson merged commit 6aee89b into main Sep 4, 2024
2 checks passed
@andreasjansson andreasjansson deleted the nsfw-switch branch September 4, 2024 15:42
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