From 588eb049b0750a703effea88135f60a2e80eaae4 Mon Sep 17 00:00:00 2001 From: harisreedhar Date: Sun, 23 Nov 2025 08:38:07 +0530 Subject: [PATCH] rename to target_path --- facefusion/workflows/image_to_image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/facefusion/workflows/image_to_image.py b/facefusion/workflows/image_to_image.py index cc47c068..07b10818 100644 --- a/facefusion/workflows/image_to_image.py +++ b/facefusion/workflows/image_to_image.py @@ -57,13 +57,13 @@ def prepare_image() -> ErrorCode: def process_image() -> ErrorCode: - target_image_path = state_manager.get_item('target_path') + target_path = state_manager.get_item('target_path') temp_image_path = get_temp_file_path(state_manager.get_item('output_path')) - reference_vision_frame = read_static_image(target_image_path) + reference_vision_frame = read_static_image(target_path) source_vision_frames = read_static_images(state_manager.get_item('source_paths')) source_audio_frame = create_empty_audio_frame() source_voice_frame = create_empty_audio_frame() - target_vision_frame = read_static_image(target_image_path, 'rgba') + target_vision_frame = read_static_image(target_path, 'rgba') temp_vision_frame = target_vision_frame.copy() temp_vision_mask = extract_vision_mask(temp_vision_frame)