diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..a4fd892 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,22 @@ +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 + 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/.gitignore b/.gitignore index 68bc17f..e521c10 100644 --- a/.gitignore +++ b/.gitignore @@ -158,3 +158,4 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +cache.pkl diff --git a/README.md b/README.md index 582ad64..3068f77 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,6 @@ ComfyUI の起動 bat ファイルを編集して、以下のように Cohere .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build pause +# SimpleCohereNode + +![image](https://github.com/sugarkwork/comfyui_cohere/assets/98699377/aaf17fc2-0109-48ca-8884-9a75638482e9) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d901a6f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "comfyui_cohere" +description = "This is a node for using cohere (Command R+) from ComfyUI. You need to edit the startup .bat file of ComfyUI and describe the API key obtained from Cohere as follows." +version = "1.0.0" +license = "LICENSE" +dependencies = ["cohere"] + +[project.urls] +Repository = "https://github.com/sugarkwork/comfyui_cohere" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "" +DisplayName = "comfyui_cohere" +Icon = ""