From b9071381a3d3129b6b40de59971b7095013965bc Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Thu, 22 Jun 2023 05:32:29 +0530 Subject: [PATCH] Update faceswap.py --- scripts/faceswap.py | 1 - 1 file changed, 1 deletion(-) 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