Update preprocessor.py

This commit is contained in:
lllyasviel 2024-01-29 21:51:17 -08:00
parent de1998220e
commit 4c98a1c79b

View File

@ -724,7 +724,7 @@ class InsightFaceModel:
):
local_path = os.path.join(model_root, local_file)
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
def load_model(self):