fix for tuning setup

latest-fix
aria1th 2023-01-21 21:46:19 +09:00
parent 3003692706
commit 82d66c5ced
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ def create_hypernetwork_load(name, enable_sizes, overwrite_old, layer_structure=
)
hypernet.save(fn)
shared.reload_hypernetworks()
hypernet = load_hypernetwork(fn)
assert hypernet is not None, f"Cannot load from {fn}!"
hypernet = load_hypernetwork(name)
assert hypernet is not None, f"Cannot load from {name}!"
return hypernet