From 51ee274e4030ac6b5d58fd38f6ec0739acfc775b Mon Sep 17 00:00:00 2001 From: yolain Date: Sun, 6 Oct 2024 10:23:02 +0800 Subject: [PATCH] Upgrade v1.2.3 to ComfyRegistry --- README.ZH_CN.md | 1 + README.md | 1 + install.sh | 24 ++++++++++++++++++++++++ pyproject.toml | 4 ++-- 4 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 install.sh diff --git a/README.ZH_CN.md b/README.ZH_CN.md index 438b77e..a5a7e0e 100644 --- a/README.ZH_CN.md +++ b/README.ZH_CN.md @@ -63,6 +63,7 @@ git clone https://github.com/yolain/ComfyUI-Easy-Use **v1.2.3** +- `easy showAnything` 和 `easy cleanGPUUsed` 增加输出插槽 - 添加新的人体分割在 `easy humanSegmentation` 节点上 - 代码从 (ComfyUI_Human_Parts)[https://github.com/metal3d/ComfyUI_Human_Parts] 整合 - 当你在 `easy preSamplingCustom` 节点上选择basicGuider,CFG>0 且当前模型为Flux时,将使用FluxGuidance - 增加 `easy loraStackApply` and `easy controlnetStackApply` diff --git a/README.md b/README.md index 63ff84f..322855b 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ Double-click install.bat to install the required dependencies **v1.2.3** +- `easy showAnything` and `easy cleanGPUUsed` added slot of output - Added human parts segmentation to `easy humanSegmentation` - Code based on (ComfyUI_Human_Parts)[https://github.com/metal3d/ComfyUI_Human_Parts] - Using FluxGuidance when you are using a flux model and choose basicGuider and set the cfg>0 on `easy preSamplingCustom` - Added `easy loraStackApply` and `easy controlnetStackApply` - Apply loraStack and controlnetStack diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..8e7788d --- /dev/null +++ b/install.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +requirements_txt="$(dirname "$0")/requirements.txt" +requirements_repair_txt="$(dirname "$0")/repair_dependency_list.txt" +python_exec="../../../python_embeded/python.exe" +aki_python_exec="../../python/python.exe" + +echo "Installing EasyUse Requirements..." + +if [ -f "$python_exec" ]; then + echo "Installing with ComfyUI Portable" + "$python_exec" -s -m pip install -r "$requirements_txt" +elif [ -f "$aki_python_exec" ]; then + echo "Installing with ComfyUI Aki" + "$aki_python_exec" -s -m pip install -r "$requirements_txt" + while IFS= read -r line; do + "$aki_python_exec" -s -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple "$line" + done < "$requirements_repair_txt" +else + echo "Installing with system Python" + pip install -r "$requirements_txt" +fi + +read -p "Press any key to continue..." \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 6b5d73d..da6e0ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [project] name = "comfyui-easy-use" description = "To enhance the usability of ComfyUI, optimizations and integrations have been implemented for several commonly used nodes." -version = "1.2.2" +version = "1.2.3" license = { file = "LICENSE" } -dependencies = ["diffusers>=0.25.0", "accelerate>=0.25.0", "clip_interrogator>=0.6.0", "sentencepiece", "lark-parser", "onnxruntime", "spandrel", "opencv-python"] +dependencies = ["diffusers", "accelerate", "clip_interrogator>=0.6.0", "sentencepiece", "lark-parser", "onnxruntime", "spandrel", "opencv-python"] [project.urls] Repository = "https://github.com/yolain/ComfyUI-Easy-Use"