Fix CLIP skip for SD.Next
This commit is contained in:
parent
7af27bb6a9
commit
07cfc1fb0b
|
@ -2567,10 +2567,13 @@ async function generateAutoImage(prompt, negativePrompt) {
|
||||||
denoising_strength: extension_settings.sd.denoising_strength,
|
denoising_strength: extension_settings.sd.denoising_strength,
|
||||||
hr_second_pass_steps: extension_settings.sd.hr_second_pass_steps,
|
hr_second_pass_steps: extension_settings.sd.hr_second_pass_steps,
|
||||||
seed: extension_settings.sd.seed >= 0 ? extension_settings.sd.seed : undefined,
|
seed: extension_settings.sd.seed >= 0 ? extension_settings.sd.seed : undefined,
|
||||||
|
// For AUTO1111
|
||||||
override_settings: {
|
override_settings: {
|
||||||
CLIP_stop_at_last_layers: extension_settings.sd.clip_skip,
|
CLIP_stop_at_last_layers: extension_settings.sd.clip_skip,
|
||||||
},
|
},
|
||||||
override_settings_restore_afterwards: true,
|
override_settings_restore_afterwards: true,
|
||||||
|
// For SD.Next
|
||||||
|
clip_skip: extension_settings.sd.clip_skip,
|
||||||
// Ensure generated img is saved to disk
|
// Ensure generated img is saved to disk
|
||||||
save_images: true,
|
save_images: true,
|
||||||
send_images: true,
|
send_images: true,
|
||||||
|
|
Loading…
Reference in New Issue