diff --git a/modules/api/api.py b/modules/api/api.py index eb7b1da54e1..5a9ac5f1aa7 100644 --- a/modules/api/api.py +++ b/modules/api/api.py @@ -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: