diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-02-19 09:36:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 09:36:01 +0000 |
commit | 43137773227344dd79b56c227dbc9fb54ac7c337 (patch) | |
tree | 536b81b9a964bac6f1146135ed88c9dc041991df | |
parent | 75a508ab537b7e3ad96b45fb9f5ef1d23d5a6261 (diff) | |
parent | 33947a3c6631179bba02285f09b5853b9ecf5782 (diff) | |
download | stable-diffusion-webui-gfx803-43137773227344dd79b56c227dbc9fb54ac7c337.tar.gz stable-diffusion-webui-gfx803-43137773227344dd79b56c227dbc9fb54ac7c337.tar.bz2 stable-diffusion-webui-gfx803-43137773227344dd79b56c227dbc9fb54ac7c337.zip |
Merge pull request #7703 from minux302/hotfix/fix_hn_api_arg
fix arg for train_hypernetwork api
-rw-r--r-- | modules/api/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/api.py b/modules/api/api.py index eb7b1da5..5a9ac5f1 100644 --- a/modules/api/api.py +++ b/modules/api/api.py @@ -498,7 +498,7 @@ class Api: if not apply_optimizations: sd_hijack.undo_optimizations() try: - hypernetwork, filename = train_hypernetwork(*args) + hypernetwork, filename = train_hypernetwork(**args) except Exception as e: error = e finally: |