mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
fix xyz clip
This commit is contained in:
parent
b957dcfece
commit
edd766e70a
@ -94,7 +94,10 @@ def confirm_checkpoints(p, xs):
|
|||||||
|
|
||||||
|
|
||||||
def apply_clip_skip(p, x, xs):
|
def apply_clip_skip(p, x, xs):
|
||||||
opts.data["CLIP_stop_at_last_layers"] = x
|
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):
|
def apply_upscale_latent_space(p, x, xs):
|
||||||
|
Loading…
Reference in New Issue
Block a user