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

  1. Inside the facefusion folder, open:
    facefusion/facefusion/content_analyser.py
    (Opens in Notepad or your default text editor.)
  2. Press Ctrl+F and search for detect_nsfw.
  3. 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
          
  4. Replace the entire block with:
    def detect_nsfw(vision_frame : VisionFrame) -> bool:
        return False
          
    ⚠️ Keep the 4 spaces before return False and use a capital F.
  5. Save (Ctrl+S) and close the file.

3. Edit the Second File

  1. Still in the facefusion folder, open:
    facefusion/facefusion/core.py
  2. Find the line:
    is_valid = hash_helper.create_hash(content_analyser_content) == 'b159fd9d'
  3. Replace it with:
    is_valid = 1
  4. 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