Merge pull request #7703 from minux302/hotfix/fix_hn_api_arg

fix arg for train_hypernetwork api
This commit is contained in:
AUTOMATIC1111 2023-02-19 12:36:01 +03:00 committed by GitHub
commit 4313777322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,7 +498,7 @@ class Api:
if not apply_optimizations: if not apply_optimizations:
sd_hijack.undo_optimizations() sd_hijack.undo_optimizations()
try: try:
hypernetwork, filename = train_hypernetwork(*args) hypernetwork, filename = train_hypernetwork(**args)
except Exception as e: except Exception as e:
error = e error = e
finally: finally: