pip_overrides ultralytics to 8.3.40

This commit is contained in:
Dr.Lt.Data 2024-12-06 04:46:14 +09:00
parent 8d1fd75c6c
commit 5a61000daa
2 changed files with 2 additions and 1 deletions

View File

@ -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"]

View File

@ -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):