Fix unauthorized link
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user