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