mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-31 06:17:27 +02:00
Hotfix release (#907)
* Revert to old-fashion face store * Bump release * Don't be evil * Don't be evil
This commit is contained in:
+6
-2
@@ -1,3 +1,4 @@
|
||||
import inspect
|
||||
import itertools
|
||||
import shutil
|
||||
import signal
|
||||
@@ -6,7 +7,7 @@ from time import time
|
||||
|
||||
import numpy
|
||||
|
||||
from facefusion import benchmarker, cli_helper, content_analyser, face_classifier, face_detector, face_landmarker, face_masker, face_recognizer, logger, process_manager, state_manager, video_manager, voice_extractor, wording
|
||||
from facefusion import benchmarker, cli_helper, content_analyser, face_classifier, face_detector, face_landmarker, face_masker, face_recognizer, hash_helper, logger, process_manager, state_manager, video_manager, voice_extractor, wording
|
||||
from facefusion.args import apply_args, collect_job_args, reduce_job_args, reduce_step_args
|
||||
from facefusion.common_helper import get_first
|
||||
from facefusion.content_analyser import analyse_image, analyse_video
|
||||
@@ -126,7 +127,10 @@ def common_pre_check() -> bool:
|
||||
voice_extractor
|
||||
]
|
||||
|
||||
return all(module.pre_check() for module in common_modules)
|
||||
content_analyser_content = inspect.getsource(content_analyser).encode()
|
||||
is_valid = hash_helper.create_hash(content_analyser_content) == 'b159fd9d'
|
||||
|
||||
return all(module.pre_check() for module in common_modules) and is_valid
|
||||
|
||||
|
||||
def processors_pre_check() -> bool:
|
||||
|
||||
Reference in New Issue
Block a user