@ -1,8 +1,4 @@
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
@ -10,4 +6,8 @@ repos:
- id: check-case-conflict
- id: check-docstring-first
- id: detect-private-key
- id: fix-byte-order-marker
@ -20,7 +20,9 @@ def check_configuration() -> None:
models_dir = MODELS_DIR
faces_dir = FACES_DIR
model_url = "https://huggingface.co/henryruhs/roop/resolve/main/inswapper_128.onnx"
model_url = (
"https://huggingface.co/deepinsight/inswapper/resolve/main/inswapper_128.onnx"
)
model_name = os.path.basename(model_url)
model_path = os.path.join(models_dir, model_name)