api update default sampler

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-06-28 09:36:33 -04:00
parent 69f71cc32a
commit 7fbac675fe
5 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -463,8 +463,8 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
if all_subseeds is not None:
self.all_subseeds = all_subseeds
if self.sampler_name == "PLMS":
self.sampler_name = 'UniPC'
if self.sampler_name == 'PLMS':
self.sampler_name = 'Default'
if not shared.native:
self.sampler = sd_samplers.create_sampler(self.sampler_name, self.sd_model)
if hasattr(self.sampler, "initialize"):