mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Update sd_samplers.py
[UX] UniPC and PLMS as fallback, PLMS forced, settings consistency #829 Refactor
This commit is contained in:
@@ -34,11 +34,9 @@ def set_samplers():
|
||||
shown_img2img = set(shared.opts.show_samplers)
|
||||
|
||||
if len(shared.opts.show_samplers) == 0:
|
||||
shown = set(['UniPC'])
|
||||
shown = {'PLMS', 'UniPC'}
|
||||
else:
|
||||
shown = set(shared.opts.show_samplers)
|
||||
|
||||
shown.add('PLMS')
|
||||
shown = set(shared.opts.show_samplers + ['PLMS'])
|
||||
|
||||
samplers = [x for x in all_samplers if x.name in shown]
|
||||
samplers_for_img2img = [x for x in all_samplers if x.name in shown_img2img]
|
||||
|
||||
Reference in New Issue
Block a user