Spaces:
Runtime error
Runtime error
Update facefusion/content_analyser.py
Browse files
facefusion/content_analyser.py
CHANGED
@@ -76,7 +76,7 @@ def analyse_frame(vision_frame : VisionFrame) -> bool:
|
|
76 |
{
|
77 |
content_analyser.get_inputs()[0].name: vision_frame
|
78 |
})[0][0][1]
|
79 |
-
return probability >
|
80 |
|
81 |
|
82 |
def prepare_frame(vision_frame : VisionFrame) -> VisionFrame:
|
|
|
76 |
{
|
77 |
content_analyser.get_inputs()[0].name: vision_frame
|
78 |
})[0][0][1]
|
79 |
+
return probability > False
|
80 |
|
81 |
|
82 |
def prepare_frame(vision_frame : VisionFrame) -> VisionFrame:
|