hires-fix: add "nearest-exact" latent upscale mode.

This commit is contained in:
cat 2023-01-05 20:17:39 +05:00
parent f8d0cf6a6e
commit 19a81ac287

View File

@ -576,6 +576,7 @@ latent_upscale_modes = {
"Latent (bicubic)": {"mode": "bicubic", "antialias": False},
"Latent (bicubic antialiased)": {"mode": "bicubic", "antialias": True},
"Latent (nearest)": {"mode": "nearest", "antialias": False},
"Latent (nearest-exact)": {"mode": "nearest-exact", "antialias": False},
}
sd_upscalers = []