Update faceswap.py

pull/101/head
Somdev Sangwan 2023-06-22 05:32:29 +05:30 committed by GitHub
parent 8191992cb5
commit b9071381a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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