2025-11-13 04:24:36 +00:00
|
|
|
--- a/facefusion/content_analyser.py
|
|
|
|
|
+++ b/facefusion/content_analyser.py
|
|
|
|
|
@@ -194,7 +194,8 @@ def analyse_frame(vision_frame : VisionFrame) -> bool:
|
2025-11-13 04:28:50 +00:00
|
|
|
is_nsfw_2 = detect_with_nsfw_2(vision_frame)
|
|
|
|
|
is_nsfw_3 = detect_with_nsfw_3(vision_frame)
|
|
|
|
|
|
2025-11-13 04:24:36 +00:00
|
|
|
- return is_nsfw_1 and is_nsfw_2 or is_nsfw_1 and is_nsfw_3 or is_nsfw_2 and is_nsfw_3
|
|
|
|
|
+ # Patched to disable NSFW filter - always return False (content is safe)
|
|
|
|
|
+ return False
|
|
|
|
|
|
|
|
|
|
|
2025-11-13 04:28:50 +00:00
|
|
|
def detect_with_nsfw_1(vision_frame : VisionFrame) -> bool:
|