diff --git a/custom-node-list.json b/custom-node-list.json index 85008c3b..9d5dcb0f 100644 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -19,7 +19,7 @@ "files": [ "https://github.com/ltdrdata/ComfyUI-Impact-Pack" ], - "pip": ["ultralytics"], + "pip": ["ultralytics==8.3.40"], "install_type": "git-clone", "description": "This extension offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler.", "preemptions":["SAMLoader"] diff --git a/prestartup_script.py b/prestartup_script.py index 8deb3a65..8bd19480 100644 --- a/prestartup_script.py +++ b/prestartup_script.py @@ -84,6 +84,7 @@ if os.path.exists(pip_overrides_path): with open(pip_overrides_path, 'r', encoding="UTF-8", errors="ignore") as json_file: cm_global.pip_overrides = json.load(json_file) cm_global.pip_overrides['numpy'] = 'numpy<2' + cm_global.pip_overrides['ultralytics'] = 'ultralytics==8.3.40' # for security def remap_pip_package(pkg):