From 52b26a1e337378de668acfa125715347d2422811 Mon Sep 17 00:00:00 2001 From: harisreedhar Date: Thu, 19 Sep 2024 19:05:27 +0530 Subject: [PATCH] changes --- facefusion.ini | 6 +++--- facefusion/processors/live_portrait.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/facefusion.ini b/facefusion.ini index a6b99ed3..bba59217 100644 --- a/facefusion.ini +++ b/facefusion.ini @@ -67,9 +67,9 @@ face_editor_mouth_purse = face_editor_mouth_smile = face_editor_mouth_position_horizontal = face_editor_mouth_position_vertical = -face_editor_pose_pitch = -face_editor_pose_yaw = -face_editor_pose_roll = +face_editor_head_pitch = +face_editor_head_yaw = +face_editor_head_roll = face_enhancer_model = face_enhancer_blend = face_swapper_model = diff --git a/facefusion/processors/live_portrait.py b/facefusion/processors/live_portrait.py index 25f7d5f6..7da122a2 100644 --- a/facefusion/processors/live_portrait.py +++ b/facefusion/processors/live_portrait.py @@ -62,6 +62,6 @@ def limit_expression(expression : LivePortraitExpression) -> LivePortraitExpress def create_rotation(pitch : LivePortraitPitch, yaw : LivePortraitYaw, roll : LivePortraitRoll) -> LivePortraitRotation: - rotation = scipy.spatial.transform.Rotation.from_euler('xyz', [ pitch, yaw, roll ], degrees=True).as_matrix() + rotation = scipy.spatial.transform.Rotation.from_euler('xyz', [ pitch, yaw, roll ], degrees = True).as_matrix() rotation = rotation.astype(numpy.float32) return rotation