fix arg for hypernetwork train api

This commit is contained in:
minux302 2023-02-10 17:58:35 +09:00
parent ea9bd9fc74
commit 33947a3c66

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: