remove unused code

This commit is contained in:
w-e-w 2024-05-19 05:17:44 +09:00
parent 1e696b028a
commit 51e7122f25
1 changed files with 0 additions and 11 deletions

View File

@ -95,17 +95,6 @@ def confirm_checkpoints_or_none(p, xs):
raise RuntimeError(f"Unknown checkpoint: {x}") raise RuntimeError(f"Unknown checkpoint: {x}")
def apply_clip_skip(p, x, xs):
opts.data["CLIP_stop_at_last_layers"] = x
def apply_upscale_latent_space(p, x, xs):
if x.lower().strip() != '0':
opts.data["use_scale_latent_for_hires_fix"] = True
else:
opts.data["use_scale_latent_for_hires_fix"] = False
def apply_size(p, x: str, xs) -> None: def apply_size(p, x: str, xs) -> None:
try: try:
width, _, height = x.partition('x') width, _, height = x.partition('x')