Add new latent upscale modes

This commit is contained in:
MMaker 2023-01-04 05:12:06 -05:00 committed by GitHub
parent 8d8a05a3bb
commit 96cf15bede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -564,8 +564,11 @@ if os.path.exists(config_filename):
latent_upscale_default_mode = "Latent"
latent_upscale_modes = {
"Latent": "bilinear",
"Latent (nearest)": "nearest",
"Latent": {"mode": "bilinear", "antialias": False},
"Latent (antialiased)": {"mode": "bilinear", "antialias": True},
"Latent (bicubic)": {"mode": "bicubic", "antialias": False},
"Latent (bicubic, antialiased)": {"mode": "bicubic", "antialias": True},
"Latent (nearest)": {"mode": "nearest", "antialias": False},
}
sd_upscalers = []