UniPC does not support img2img (for now)

This commit is contained in:
space-nuko
2023-02-10 05:00:09 -08:00
parent 21880eb9e5
commit c88dcc20d4
3 changed files with 3 additions and 3 deletions

View File

@@ -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]