From 1cbe93f501af077b17b9aa61332c26ed564cf6aa Mon Sep 17 00:00:00 2001 From: snomiao Date: Sat, 5 Oct 2024 09:00:11 +0000 Subject: [PATCH 1/3] chore(publish): Add Github Action for Publishing to Comfy Registry --- .github/workflows/publish.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish.yml 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 }} From 25925f058ede414de6e3520d9249982c458f646d Mon Sep 17 00:00:00 2001 From: snomiao Date: Sat, 5 Oct 2024 09:00:12 +0000 Subject: [PATCH 2/3] chore(pyproject): Add pyproject.toml for Custom Node Registry --- pyproject.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..05ae544 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "comfyui-funaudiollm" +description = "Comfyui custom node for [FunAudioLLM](https://funaudiollm.github.io/) include [CosyVoice](https://github.com/FunAudioLLM/CosyVoice) and [SenseVoice](https://github.com/FunAudioLLM/SenseVoice)." +version = "1.0.0" +license = {file = "LICENSE"} +dependencies = ["conformer", "deepspeed; sys_platform == 'linux'", "diffusers", "grpcio", "grpcio-tools", "hydra-core", "HyperPyYAML", "inflect", "librosa", "lightning", "matplotlib", "modelscope", "networkx", "omegaconf", "onnxruntime-gpu; sys_platform == 'linux'", "onnxruntime; sys_platform == 'darwin' or sys_platform == 'win32'", "openai-whisper", "protobuf", "pydantic", "rich", "soundfile", "tensorboard", "wget", "gdown", "pyarrow", "jieba", "pypinyin", "pydub", "audiosegment", "srt", "ffmpeg-python", "WeTextProcessing", "aliyun-python-sdk-core", "funasr>=1.1.3", "huggingface", "huggingface_hub"] + +[project.urls] +Repository = "https://github.com/SpenserCai/ComfyUI-FunAudioLLM" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "" +DisplayName = "ComfyUI-FunAudioLLM" +Icon = "" From 96a301c71afedc9aa8883713c2048686a785d501 Mon Sep 17 00:00:00 2001 From: SpenserCai Date: Sat, 5 Oct 2024 17:15:35 +0800 Subject: [PATCH 3/3] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 05ae544..cfde708 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,6 @@ Repository = "https://github.com/SpenserCai/ComfyUI-FunAudioLLM" # Used by Comfy Registry https://comfyregistry.org [tool.comfy] -PublisherId = "" +PublisherId = "spensercai" DisplayName = "ComfyUI-FunAudioLLM" Icon = ""