How to Disable NSFW Filter in FaceFusion 3.3.2
🔓 How to Disable NSFW Filter in FaceFusion 3.3.2
This tutorial helps you disable FaceFusion’s NSFW filter so you can use the tool without content being blurred. So, Fuck restrictions! Open source code should be fully open source.
1. Open the Program Folder
| How you installed | Where to look |
|---|---|
| Normal install | Double-click the folder you unzipped: facefusion |
| Pinokio | Click Files → View Folder in Pinokio, then open the facefusion folder |
2. Edit the First File
- Inside the
facefusionfolder, open:
facefusion/facefusion/content_analyser.py
(Opens in Notepad or your default text editor.) - Press Ctrl+F and search for
detect_nsfw. - You’ll see this block:
def detect_nsfw(vision_frame : VisionFrame) -> bool: is_nsfw_1 = detect_with_nsfw_1(vision_frame) is_nsfw_2 = detect_with_nsfw_2(vision_frame) is_nsfw_3 = detect_with_nsfw_3(vision_frame) return is_nsfw_1 and is_nsfw_2 or is_nsfw_1 and is_nsfw_3 or is_nsfw_2 and is_nsfw_3 - Replace the entire block with:
def detect_nsfw(vision_frame : VisionFrame) -> bool: return False⚠️ Keep the 4 spaces beforereturn Falseand use a capital F. - Save (Ctrl+S) and close the file.
3. Edit the Second File
- Still in the
facefusionfolder, open:
facefusion/facefusion/core.py - Find the line:
is_valid = hash_helper.create_hash(content_analyser_content) == 'b159fd9d'
- Replace it with:
is_valid = 1
- Save and close.
✅ Done!
Restart Face-Fusion. The blur filter is now disabled. and you can create deepfake nudes, porn, etc..
Quick Troubleshooting
- IndentationError on launch: Re-open each file and make sure every line starts with the same number of spaces as before.
- Changes don’t show: Fully close and reopen Face-Fusion.
Comments
Post a Comment