From cfc467473b359bee9b1e92d056aed994bcc6e399 Mon Sep 17 00:00:00 2001 From: Cyber Dick Lang <286878701@qq.com> Date: Sat, 25 Oct 2025 19:21:51 +0800 Subject: [PATCH] =?UTF-8?q?v1.2.4:=20=E6=9B=B4=E6=96=B0ComfyUI=20Registry?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=92=8C=E4=BE=9D=E8=B5=96=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 优化pyproject.toml配置文件,符合ComfyUI Registry发布规范 - 同步更新requirements.txt,确保依赖项完整 - 添加项目图标URL和更详细的标签信息 - 更新README.md版本信息和更新日志 --- README.md | 10 ++++++++-- pyproject.toml | 11 +++++------ requirements.txt | 8 ++++++-- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d5b386d..93ae003 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,18 @@ # ComfyUI-RemoveBackgroundSuite -**版本**: v1.2.3 +**版本**: v1.2.4 **ComfyUI 插件**: 抠图工具包 A matting toolkit based on ComfyUI, supporting multiple matting models and detail processing methods. -## 🆕 最新更新 (v1.2.3) +## 🆕 最新更新 (v1.2.4) +- **更新ComfyUI Registry配置**: 优化了pyproject.toml配置文件,符合最新的ComfyUI Registry发布规范 +- **完善依赖管理**: 同步更新了requirements.txt文件,确保所有依赖项完整 +- **增强元数据**: 添加了更详细的标签和描述信息,提升在Registry中的可发现性 +- **图标支持**: 配置了项目图标URL,提升用户体验 + +### v1.2.3 - **自动修复BiRefNet兼容性问题**: 新增动态配置修复功能,自动解决BiRefNet模型与transformers库的兼容性问题 - **无需手动修改**: 用户安装插件后无需修改models文件夹中的任何文件 - **智能检测**: 自动检测并修复所有BiRefNet模型版本的配置问题 diff --git a/pyproject.toml b/pyproject.toml index bb5b132..89c1ca6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,19 +1,18 @@ [project] name = "removebackgroundsuite" -description = "A matting toolkit based on ComfyUI, supporting multiple matting models and detail processing methods." -version = "1.2.3" +description = "A comprehensive matting toolkit for ComfyUI with support for multiple models including BiRefNet, RMBG, and advanced mask processing capabilities." +version = "1.2.4" license = {file = "LICENSE"} dependencies = ["torch", "numpy", "Pillow", "torchvision", "opencv-python", "scipy", "transformers", "tqdm", "pymatting", "guided-filter", "vitmatte", "timm"] [project.urls] Repository = "https://github.com/whmc76/ComfyUI-RemoveBackgroundSuite" -# Used by Comfy Registry https://registry.comfy.org [tool.comfy] PublisherId = "whmc76" DisplayName = "ComfyUI-RemoveBackgroundSuite" Description = "A comprehensive matting toolkit for ComfyUI with support for multiple models including BiRefNet, RMBG, and advanced mask processing capabilities." -Version = "1.2.3" -Icon = "" +Version = "1.2.4" +Icon = "https://raw.githubusercontent.com/whmc76/ComfyUI-RemoveBackgroundSuite/main/icon.png" includes = [] -tags = ["matting", "background-removal", "image-processing", "mask-processing"] +tags = ["matting", "background-removal", "image-processing", "mask-processing", "birefnet", "rmbg", "vitmatte"] diff --git a/requirements.txt b/requirements.txt index 782038f..530faa9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,12 @@ torch numpy Pillow +torchvision opencv-python scipy -torchvision transformers -tqdm \ No newline at end of file +tqdm +pymatting +guided-filter +vitmatte +timm \ No newline at end of file