From 153ab56de1bd3552fa1769cb121da83530642dbd Mon Sep 17 00:00:00 2001 From: LucipherDev Date: Fri, 27 Dec 2024 16:02:43 +0530 Subject: [PATCH] Publish --- .github/workflows/publish.yml | 24 ++++++++++++++++++++++++ pyproject.toml | 14 ++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/publish.yml create mode 100644 pyproject.toml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..a8719ae --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + - master + paths: + - "pyproject.toml" + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + # if this is a forked repository. Skipping the workflow. + if: github.event.repository.fork == false + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@main + with: + ## Add your own personal access token to your Github Repository secrets and reference it here. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..39300cd --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "comfyui-anidoc" +description = "ComfyUI Custom Nodes for 'AniDoc: Animation Creation Made Easier'. This approach automates line art video colorization using a novel model that aligns color information from references, ensures temporal consistency, and reduces manual effort in animation production." +version = "1.0.0" +license = {file = "LICENSE"} +dependencies = ["diffusers==0.24.0", "huggingface_hub==0.25.2", "Pillow", "accelerate", "omegaconf", "opencv-python", "einops", "kornia", "git+https://github.com/XPixelGroup/BasicSR.git"] + +[project.urls] +Repository = "https://github.com/LucipherDev/ComfyUI-AniDoc" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "lucipherdev" +DisplayName = "ComfyUI-AniDoc" \ No newline at end of file