Merge pull request #6364 from 0xb8/master

hires-fix: add "nearest-exact" latent upscale mode.
This commit is contained in:
AUTOMATIC1111 2023-01-06 07:49:11 +03:00 committed by GitHub
commit 3ea354f274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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 = []