aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-02-19 12:36:01 +0300
committerGitHub <noreply@github.com>2023-02-19 12:36:01 +0300
commit43137773227344dd79b56c227dbc9fb54ac7c337 (patch)
tree536b81b9a964bac6f1146135ed88c9dc041991df
parent75a508ab537b7e3ad96b45fb9f5ef1d23d5a6261 (diff)
parent33947a3c6631179bba02285f09b5853b9ecf5782 (diff)
Merge pull request #7703 from minux302/hotfix/fix_hn_api_arg
fix arg for train_hypernetwork api
-rw-r--r--modules/api/api.py2
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: