Skip to content

Commit

Permalink
Merge pull request #57 from glucauze/v1.2.2a
Browse files Browse the repository at this point in the history
change model url
  • Loading branch information
glucauze committed Aug 21, 2023
2 parents d1a82d5 + 7830eb1 commit 32eeed8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
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
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- id: detect-private-key
- id: fix-byte-order-marker
- id: fix-byte-order-marker
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
4 changes: 3 additions & 1 deletion scripts/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 32eeed8

Please sign in to comment.