Skip to content

Commit

Permalink
Gen params paste improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
invincibledude committed Jan 22, 2023
1 parent d261bec commit fccc398
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/generation_parameters_copypaste.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,10 @@ def parse_generation_parameters(x: str):
res[k+"-2"] = m.group(2)
else:
res[k] = v
if k.startswith("Hires prompt:"):

if k.startswith("Hires prompt"):
res["Hires prompt"] = v[1:][:-1]
elif k.startswith("Hires negative prompt:"):
elif k.startswith("Hires negative prompt"):
res["Hires negative prompt"] = v[1:][:-1]

# Missing CLIP skip means it was set to 1 (the default)
Expand Down

0 comments on commit fccc398

Please sign in to comment.