Skip to content

Commit

Permalink
Correctly restore default hypernetwork strength
Browse files Browse the repository at this point in the history
  • Loading branch information
space-nuko committed Dec 13, 2022
1 parent 9d5948e commit 1fcb959
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/generation_parameters_copypaste.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ def parse_generation_parameters(x: str):
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)
Expand Down

0 comments on commit 1fcb959

Please sign in to comment.