sdwebui-w-horde / sd-webui-stable-horde-worker

Stable Horde Unofficial Worker Bridge as Stable Diffusion WebUI (AUTOMATIC1111) Extension
GNU Affero General Public License v3.0
60 stars 19 forks source link

[Feature]: Onboard the Anti-CSAM filter #92

Open db0 opened 1 year ago

db0 commented 1 year ago

Is there existing issue for this?

Feature Description

Currently the AI Horde Worker relies on a custom builtm, anti-CSAM filter to prevent people abusing the service and protect the workers. It relies on using clip. The implementation is here: https://github.com/db0/AI-Horde-Worker/blob/main/worker/csam.py

It should be ported here as well.

Proposed Solution

Reimplement: https://github.com/db0/AI-Horde-Worker/blob/main/worker/csam.py

Additional Information

No response