Adjust wording for face editor

This commit is contained in:
henryruhs 2024-09-27 21:20:10 +02:00
parent eb6dbef023
commit c082be3506
2 changed files with 11 additions and 11 deletions

View File

@ -132,8 +132,8 @@ def register_args(program : ArgumentParser) -> None:
group_processors.add_argument('--face-editor-mouth-position-horizontal', help = wording.get('help.face_editor_mouth_position_horizontal'), type = float, default = config.get_float_value('processors.face_editor_mouth_position_horizontal', '0'), choices = processors_choices.face_editor_mouth_position_horizontal_range, metavar = create_float_metavar(processors_choices.face_editor_mouth_position_horizontal_range))
group_processors.add_argument('--face-editor-mouth-position-vertical', help = wording.get('help.face_editor_mouth_position_vertical'), type = float, default = config.get_float_value('processors.face_editor_mouth_position_vertical', '0'), choices = processors_choices.face_editor_mouth_position_vertical_range, metavar = create_float_metavar(processors_choices.face_editor_mouth_position_vertical_range))
group_processors.add_argument('--face-editor-head-pitch', help = wording.get('help.face_editor_head_pitch'), type = float, default = config.get_float_value('processors.face_editor_head_pitch', '0'), choices = processors_choices.face_editor_head_pitch_range, metavar = create_float_metavar(processors_choices.face_editor_head_pitch_range))
group_processors.add_argument('--face-editor-head-yaw', help=wording.get('help.face_editor_head_yaw'), type = float, default = config.get_float_value('processors.face_editor_head_yaw', '0'), choices = processors_choices.face_editor_head_yaw_range, metavar = create_float_metavar(processors_choices.face_editor_head_yaw_range))
group_processors.add_argument('--face-editor-head-roll', help=wording.get('help.face_editor_head_roll'), type = float, default = config.get_float_value('processors.face_editor_head_roll', '0'), choices = processors_choices.face_editor_head_roll_range, metavar = create_float_metavar(processors_choices.face_editor_head_roll_range))
group_processors.add_argument('--face-editor-head-yaw', help = wording.get('help.face_editor_head_yaw'), type = float, default = config.get_float_value('processors.face_editor_head_yaw', '0'), choices = processors_choices.face_editor_head_yaw_range, metavar = create_float_metavar(processors_choices.face_editor_head_yaw_range))
group_processors.add_argument('--face-editor-head-roll', help = wording.get('help.face_editor_head_roll'), type = float, default = config.get_float_value('processors.face_editor_head_roll', '0'), choices = processors_choices.face_editor_head_roll_range, metavar = create_float_metavar(processors_choices.face_editor_head_roll_range))
facefusion.jobs.job_store.register_step_keys([ 'face_editor_model', 'face_editor_eyebrow_direction', 'face_editor_eye_gaze_horizontal', 'face_editor_eye_gaze_vertical', 'face_editor_eye_open_ratio', 'face_editor_lip_open_ratio', 'face_editor_mouth_grim', 'face_editor_mouth_pout', 'face_editor_mouth_purse', 'face_editor_mouth_smile', 'face_editor_mouth_position_horizontal', 'face_editor_mouth_position_vertical', 'face_editor_head_pitch', 'face_editor_head_yaw', 'face_editor_head_roll' ])

View File

@ -149,15 +149,15 @@ WORDING : Dict[str, Any] =\
'face_editor_eye_gaze_vertical': 'specify the vertical eye gaze',
'face_editor_eye_open_ratio': 'specify the ratio of eye opening',
'face_editor_lip_open_ratio': 'specify the ratio of lip opening',
'face_editor_mouth_grim': 'specify the mouth grim amount',
'face_editor_mouth_pout': 'specify the mouth pout amount',
'face_editor_mouth_purse': 'specify the mouth purse amount',
'face_editor_mouth_smile': 'specify the mouth smile amount',
'face_editor_mouth_position_horizontal': 'specify the mouth position horizontal amount',
'face_editor_mouth_position_vertical': 'specify the mouth position vertical amount',
'face_editor_head_pitch': 'specify the head pitch amount',
'face_editor_head_yaw': 'specify the head yaw amount',
'face_editor_head_roll': 'specify the head roll amount',
'face_editor_mouth_grim': 'specify the mouth grim',
'face_editor_mouth_pout': 'specify the mouth pout',
'face_editor_mouth_purse': 'specify the mouth purse',
'face_editor_mouth_smile': 'specify the mouth smile',
'face_editor_mouth_position_horizontal': 'specify the horizontal mouth position',
'face_editor_mouth_position_vertical': 'specify the vertical mouth position',
'face_editor_head_pitch': 'specify the head pitch',
'face_editor_head_yaw': 'specify the head yaw',
'face_editor_head_roll': 'specify the head roll',
'face_enhancer_model': 'choose the model responsible for enhancing the face',
'face_enhancer_blend': 'blend the enhanced into the previous face',
'face_swapper_model': 'choose the model responsible for swapping the face',