From 0c2312209d8acb6f0c15610c6b48e485ab02a92f Mon Sep 17 00:00:00 2001 From: chflame163 Date: Thu, 5 Sep 2024 10:16:04 +0800 Subject: [PATCH] fix install_requirements script --- install_requirements.bat | 2 ++ install_requirements_aki.bat | 3 +++ pyproject.toml | 2 +- requirements.txt | 2 -- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/install_requirements.bat b/install_requirements.bat index 4e1043d..8ca8b0c 100644 --- a/install_requirements.bat +++ b/install_requirements.bat @@ -17,6 +17,8 @@ for /f "delims=" %%i in (%requirements_txt%) do ( %python_exec% -s -m pip install "%%i" ) +%python_exec% -s -m pip install "inference-cli[yolo-world]>=0.13.0" +%python_exec% -s -m pip install "inference-gpu[yolo-world]>=0.13.0" echo . echo Fixing Dependency Package... diff --git a/install_requirements_aki.bat b/install_requirements_aki.bat index 09bc678..b0c1da1 100644 --- a/install_requirements_aki.bat +++ b/install_requirements_aki.bat @@ -16,6 +16,9 @@ for /f "delims=" %%i in (%requirements_txt%) do ( %python_exec% -s -m pip install "%%i" ) +%python_exec% -s -m pip install "inference-cli[yolo-world]>=0.13.0" +%python_exec% -s -m pip install "inference-gpu[yolo-world]>=0.13.0" + echo . echo Fixing Dependency Package... %python_exec% -s -m pip uninstall -y opencv-python opencv-contrib-python opencv-python-headless opencv-contrib-python-headless diff --git a/pyproject.toml b/pyproject.toml index 8568141..142d1b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_layerstyle" description = "A set of nodes for ComfyUI it generate image like Adobe Photoshop's Layer Style. the Drop Shadow is first completed node, and follow-up work is in progress." -version = "1.0.44" +version = "1.0.45" license = "MIT" dependencies = ["numpy", "pillow", "torch", "matplotlib", "Scipy", "scikit_image", "opencv-contrib-python", "pymatting", "segment_anything", "timm", "addict", "yapf", "colour-science", "wget", "mediapipe", "loguru", "typer_config", "fastapi", "rich", "google-generativeai", "diffusers", "omegaconf", "tqdm", "transformers", "kornia", "image-reward", "ultralytics", "blend_modes", "blind-watermark", "qrcode", "pyzbar", "transparent-background", "huggingface_hub", "accelerate", "bitsandbytes", "torchscale", "wandb", "hydra-core", "psd-tools", "inference-cli[yolo-world]", "inference-gpu[yolo-world]", "onnxruntime"] diff --git a/requirements.txt b/requirements.txt index 46c716b..47ec3b9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,6 +36,4 @@ torchscale wandb psd-tools hydra-core -inference-cli[yolo-world]>=0.13.0 -inference-gpu[yolo-world]>=0.13.0 onnxruntime \ No newline at end of file