diff --git a/contex_generator.py b/contex_generator.py index 4577a03..5b40edf 100644 --- a/contex_generator.py +++ b/contex_generator.py @@ -57,7 +57,7 @@ def generate_context_file( # Example usage if __name__ == "__main__": - output_file = "D:/code/code_base/face_processor_03.txt" + output_file = "D:/code/code_base/face_processor_04.txt" generate_context_file( root_dir="E:/ComfyUI-DEV/custom_nodes/ComfyUI_FaceProcessor", output_file=output_file, diff --git a/core/base_landmarks.py b/core/base_landmarks.py index 4287cb2..444db82 100644 --- a/core/base_landmarks.py +++ b/core/base_landmarks.py @@ -56,8 +56,7 @@ class MediapipeBaseLandmarks: return cls._base_landmarks, cls._faces current_dir = os.path.dirname(os.path.realpath(__file__)) - project_root = os.path.dirname(current_dir) - obj_path = os.path.join(project_root, 'models', 'uv_maps', 'mediapipe_landmarks_468.obj') + obj_path = os.path.join(current_dir, 'mediapipe_landmarks_468.obj') vertices = [] uvs = []