Correctly restore default hypernetwork strength

This commit is contained in:
space-nuko 2022-12-13 14:30:54 -08:00
parent 9d5948e5f7
commit 1fcb959514

View File

@ -213,6 +213,9 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
if "Clip skip" not in res:
res["Clip skip"] = "1"
if "Hypernet strength" not in res:
res["Hypernet strength"] = "1"
if "Hypernet" in res:
hypernet_name = res["Hypernet"]
hypernet_hash = res.get("Hypernet hash", None)