aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_samplers.py
diff options
context:
space:
mode:
authorspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-02-10 13:00:09 +0000
committerspace-nuko <24979496+space-nuko@users.noreply.github.com>2023-02-10 13:00:54 +0000
commitc88dcc20d495dab4be2692bdff30277112dbe416 (patch)
tree6470af624a4769c6bc676902a0e05a9222b8f898 /modules/sd_samplers.py
parent21880eb9e57b884635a07d2360831b4186afddf4 (diff)
downloadstable-diffusion-webui-gfx803-c88dcc20d495dab4be2692bdff30277112dbe416.tar.gz
stable-diffusion-webui-gfx803-c88dcc20d495dab4be2692bdff30277112dbe416.tar.bz2
stable-diffusion-webui-gfx803-c88dcc20d495dab4be2692bdff30277112dbe416.zip
UniPC does not support img2img (for now)
Diffstat (limited to 'modules/sd_samplers.py')
-rw-r--r--modules/sd_samplers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_samplers.py b/modules/sd_samplers.py
index 28c2136f..ff361f22 100644
--- a/modules/sd_samplers.py
+++ b/modules/sd_samplers.py
@@ -32,7 +32,7 @@ def set_samplers():
global samplers, samplers_for_img2img
hidden = set(shared.opts.hide_samplers)
- hidden_img2img = set(shared.opts.hide_samplers + ['PLMS'])
+ hidden_img2img = set(shared.opts.hide_samplers + ['PLMS', 'UniPC'])
samplers = [x for x in all_samplers if x.name not in hidden]
samplers_for_img2img = [x for x in all_samplers if x.name not in hidden_img2img]