Revert "fix xyz clip"

This reverts commit edd766e70a.
This commit is contained in:
w-e-w 2023-05-30 01:06:23 +09:00
parent edd766e70a
commit 123641e4ec

View File

@ -94,10 +94,7 @@ def confirm_checkpoints(p, xs):
def apply_clip_skip(p, x, 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
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): def apply_upscale_latent_space(p, x, xs):