mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 11:11:15 +00:00
Update preprocessor.py
This commit is contained in:
@@ -724,7 +724,7 @@ class InsightFaceModel:
|
|||||||
):
|
):
|
||||||
local_path = os.path.join(model_root, local_file)
|
local_path = os.path.join(model_root, local_file)
|
||||||
if not os.path.exists(local_path):
|
if not os.path.exists(local_path):
|
||||||
load_file_from_url(url, model_root)
|
load_file_from_url(url, model_dir=model_root)
|
||||||
self.antelopev2_installed = True
|
self.antelopev2_installed = True
|
||||||
|
|
||||||
def load_model(self):
|
def load_model(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user