Update facefusion/content_analyser.py
Browse files
facefusion/content_analyser.py
CHANGED
|
@@ -68,13 +68,7 @@ def prepare_frame(frame : Frame) -> Frame:
|
|
| 68 |
|
| 69 |
|
| 70 |
def analyse_frame(frame : Frame) -> bool:
|
| 71 |
-
|
| 72 |
-
frame = prepare_frame(frame)
|
| 73 |
-
probability = content_analyser.run(None,
|
| 74 |
-
{
|
| 75 |
-
'input:0': frame
|
| 76 |
-
})[0][0][1]
|
| 77 |
-
return probability > MAX_PROBABILITY
|
| 78 |
|
| 79 |
|
| 80 |
@lru_cache(maxsize = None)
|
|
|
|
| 68 |
|
| 69 |
|
| 70 |
def analyse_frame(frame : Frame) -> bool:
|
| 71 |
+
return False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
|
| 74 |
@lru_cache(maxsize = None)
|