sampler same as primary

This commit is contained in:
Vladimir Mandic
2024-05-07 17:15:59 -04:00
parent 6942c3e61e
commit 1c2b644e8c
4 changed files with 9 additions and 4 deletions
+1 -2
View File
@@ -33,7 +33,7 @@ class StableDiffusionProcessing:
self.seed_resize_from_h: int = seed_resize_from_h
self.seed_resize_from_w: int = seed_resize_from_w
self.sampler_name: str = sampler_name
self.hr_sampler_name: str = hr_sampler_name
self.hr_sampler_name: str = hr_sampler_name if hr_sampler_name != 'Same as primary' else sampler_name
self.batch_size: int = batch_size
self.n_iter: int = n_iter
self.steps: int = steps
@@ -142,7 +142,6 @@ class StableDiffusionProcessing:
self.negative_embeds = []
self.negative_pooleds = []
@property
def sd_model(self):
return shared.sd_model