add clip-skip notes

This commit is contained in:
Vladimir Mandic
2024-02-09 14:29:17 -05:00
parent a069a45e6a
commit 40feb79b11
3 changed files with 5 additions and 4 deletions
+2 -3
View File
@@ -70,9 +70,8 @@ class StableDiffusionProcessing:
self.all_negative_prompts = None
self.all_seeds = None
self.all_subseeds = None
self.clip_skip = int(clip_skip) if shared.backend == shared.Backend.ORIGINAL else clip_skip
shared.opts.data['clip_skip'] = self.clip_skip # for compatibility with a1111 sd_hijack_clip
self.clip_skip = clip_skip
shared.opts.data['clip_skip'] = int(self.clip_skip) # for compatibility with a1111 sd_hijack_clip
self.iteration = 0
self.is_control = False
self.is_hr_pass = False