Update install.py

pull/242/head
maxchiron 2023-09-12 17:20:34 +08:00 committed by GitHub
parent 3176d477d7
commit cb9ce1e880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import urllib.request
req_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), "requirements.txt")
models_dir = os.path.abspath("models/roop")
model_url = "https://huggingface.co/deepinsight/inswapper/resolve/main/inswapper_128.onnx"
model_url = "https://github.com/dream80/roop_colab/releases/download/v0.0.1/inswapper_128.onnx"
model_name = os.path.basename(model_url)
model_path = os.path.join(models_dir, model_name)