mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
pip_overrides ultralytics to 8.3.40
This commit is contained in:
parent
8d1fd75c6c
commit
5a61000daa
@ -19,7 +19,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"https://github.com/ltdrdata/ComfyUI-Impact-Pack"
|
"https://github.com/ltdrdata/ComfyUI-Impact-Pack"
|
||||||
],
|
],
|
||||||
"pip": ["ultralytics"],
|
"pip": ["ultralytics==8.3.40"],
|
||||||
"install_type": "git-clone",
|
"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.",
|
"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"]
|
"preemptions":["SAMLoader"]
|
||||||
|
|||||||
@ -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:
|
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 = json.load(json_file)
|
||||||
cm_global.pip_overrides['numpy'] = 'numpy<2'
|
cm_global.pip_overrides['numpy'] = 'numpy<2'
|
||||||
|
cm_global.pip_overrides['ultralytics'] = 'ultralytics==8.3.40' # for security
|
||||||
|
|
||||||
|
|
||||||
def remap_pip_package(pkg):
|
def remap_pip_package(pkg):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user