4 Commits
Author SHA1 Message Date
喵哩个咪 a0b8910cd0 Merge pull request #22 from userElaina/main
fix: `NoneType` object has no attribute `copy` in old version
2026-04-08 14:57:01 +08:00
userElaina bfa7241543 fix: NoneType object has no attribute copy in old version 2026-04-04 03:13:55 +00:00
喵哩个咪 cc2faae052 Merge pull request #20 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2025-02-24 14:08:49 +08:00
snomiao 6e5ee6044a chore(publish): update workflow to use specific action version and adjust permissions 2025-01-20 21:33:18 +00:00
2 changed files with 10 additions and 3 deletions
+5 -3
View File
@@ -7,17 +7,19 @@ on:
paths:
- "pyproject.toml"
permissions:
issues: write
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
if: ${{ github.repository_owner == 'MinusZoneAI' }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Publish Custom Node
uses: Comfy-Org/publish-node-action@main
uses: Comfy-Org/publish-node-action@v1
with:
## Add your own personal access token to your Github Repository secrets and reference it here.
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
+5
View File
@@ -293,6 +293,11 @@ class MZ_KohyaSSTrain_oldversion:
def start(self, **kwargs):
importlib.reload(mz_train_tools_core)
train_config = kwargs.get("train_config", "empty").copy()
if isinstance(train_config, dict):
for i in train_config:
if i not in kwargs:
kwargs[i] = train_config[i]
return mz_train_tools_core.MZ_KohyaSSTrain_call(kwargs)