diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-01-06 04:49:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 04:49:11 +0000 |
commit | 3ea354f274fe91bb224fe8bbe72ae215ac6622cf (patch) | |
tree | 82aead0a58e155a242e05ed0fbbba318b4333545 | |
parent | 310b71f669e4f2cea11b023c47f7ffedd82ab464 (diff) | |
parent | 19a81ac2871ec900fc8b7955bbc2554b6c5ac6b1 (diff) | |
download | stable-diffusion-webui-gfx803-3ea354f274fe91bb224fe8bbe72ae215ac6622cf.tar.gz stable-diffusion-webui-gfx803-3ea354f274fe91bb224fe8bbe72ae215ac6622cf.tar.bz2 stable-diffusion-webui-gfx803-3ea354f274fe91bb224fe8bbe72ae215ac6622cf.zip |
Merge pull request #6364 from 0xb8/master
hires-fix: add "nearest-exact" latent upscale mode.
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index e0f44c6d..b7a3ce5c 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -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 = []
|