From 75fed382b65ea0e0cbca84ca8de1b8ca98e301e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gourieff=20=7C=20=E5=8F=A4=E4=BB=81?= Date: Sun, 2 Mar 2025 01:12:35 +0700 Subject: [PATCH] FIX: Typo --- scripts/reactor_swapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/reactor_swapper.py b/scripts/reactor_swapper.py index 4b2c3ec..8fa9c7d 100644 --- a/scripts/reactor_swapper.py +++ b/scripts/reactor_swapper.py @@ -330,9 +330,9 @@ def swap_face( elif source_face is not None: result = target_img if "inswapper" in model: - model_path = model_path = os.path.join(insightface_path, model) + model_path = os.path.join(insightface_path, model) elif "reswapper" in model: - model_path = model_path = os.path.join(reswapper_path, model) + model_path = os.path.join(reswapper_path, model) face_swapper = getFaceSwapModel(model_path) source_face_idx = 0