refactor: use source code patch instead of deleting NSFW models

Cleaner solution based on Reddit community feedback:
- Patch content_analyser.py to return False (always safe)
- Remove unused config file
- Remove config volume mount from compose
- Much simpler and more reliable than file deletion approach

Credit: https://www.reddit.com/r/StableDiffusion/comments/1m2w5af/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-13 04:23:38 +00:00
parent 398ebd342c
commit 59f2e8b0fc
3 changed files with 5 additions and 15 deletions

View File

@@ -167,7 +167,6 @@ services:
volumes:
- ai_facefusion_data:/workspace
- ./entrypoint.sh:/entrypoint.sh:ro
- ./facefusion-config.ini:/config/facefusion-config.ini:ro
networks:
- compose_network
labels: