Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#7703 from minux302/hotfix/fix_hn_api…
Browse files Browse the repository at this point in the history
…_arg

fix arg for train_hypernetwork api
  • Loading branch information
AUTOMATIC1111 authored Feb 19, 2023
2 parents 75a508a + 33947a3 commit 4313777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def train_hypernetwork(self, args: dict):
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:
Expand Down

0 comments on commit 4313777

Please sign in to comment.