fofr / cog-comfyui

Run ComfyUI with an API
https://replicate.com/fofr/any-comfyui-workflow
MIT License
543 stars 124 forks source link

Custom Node Request: ComfyUI-safety-checker #174

Open barisgirismen opened 1 month ago

barisgirismen commented 1 month ago

Please add support for the ComfyUI-safety-checker node. It uses a CLIP-based model from CompVis (https://huggingface.co/CompVis/stable-diffusion-safety-checker) to detect NSFW content in images and replaces inappropriate content with black placeholders. The sensitivity of the detection can be adjusted for more control.

fofr commented 1 month ago

This looks like a good node to add, I'd previously avoided as I didn't want to add a diffusers dependency, but that was necessary for something else in the end.