Commit edd766e7 authored by w-e-w's avatar w-e-w
Browse files

fix xyz clip

parent b957dcfe
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -94,7 +94,10 @@ def confirm_checkpoints(p, xs):


def apply_clip_skip(p, x, xs):
    if opts.data["CLIP_stop_at_last_layers"] != x:
        opts.data["CLIP_stop_at_last_layers"] = x
        p.cached_c = [None, None]
        p.cached_uc = [None, None]


def apply_upscale_latent_space(p, x, xs):