Commit fccc3983 authored by invincibledude's avatar invincibledude
Browse files

Gen params paste improvement

parent d261bec1
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -267,9 +267,10 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
            res[k+"-2"] = m.group(2)
            res[k+"-2"] = m.group(2)
        else:
        else:
            res[k] = v
            res[k] = v
        if k.startswith("Hires prompt:"):

        if k.startswith("Hires prompt"):
            res["Hires prompt"] = v[1:][:-1]
            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]
            res["Hires negative prompt"] = v[1:][:-1]


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