diff --git a/scripts/faceswap.py b/scripts/faceswap.py index 3ac6cbb..22fea64 100644 --- a/scripts/faceswap.py +++ b/scripts/faceswap.py @@ -20,7 +20,6 @@ import os def get_models(): models_path = os.path.join(scripts.basedir(), "models/roop/*") models = glob.glob(models_path) - models += glob.glob(models_path) models = [x for x in models if x.endswith(".onnx") or x.endswith(".pth")] return models