Fix unauthorized link

This commit is contained in:
ssit
2023-08-25 10:09:38 -04:00
parent 63c61a1d58
commit 3f8721cb28
+1 -1
View File
@@ -9,7 +9,7 @@ import launch
req_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), "requirements.txt") req_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), "requirements.txt")
models_dir = os.path.abspath("models/roop") models_dir = os.path.abspath("models/roop")
model_url = "https://huggingface.co/deepinsight/inswapper/resolve/main/inswapper_128.onnx" model_url = "https://huggingface.co/facefusion/models/resolve/main/inswapper_128.onnx"
model_name = os.path.basename(model_url) model_name = os.path.basename(model_url)
model_path = os.path.join(models_dir, model_name) model_path = os.path.join(models_dir, model_name)