mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 03:01:15 +00:00
comments
This commit is contained in:
@@ -485,7 +485,7 @@ class StableDiffusionProcessing:
|
|||||||
|
|
||||||
if self.cfg_scale == 1:
|
if self.cfg_scale == 1:
|
||||||
self.uc = None
|
self.uc = None
|
||||||
print('Skipping unconditional conditioning when CFG = 1')
|
print('Skipping unconditional conditioning when CFG = 1. Negative Prompts are ignored.')
|
||||||
else:
|
else:
|
||||||
self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, negative_prompts, total_steps, [self.cached_uc], self.extra_network_data)
|
self.uc = self.get_conds_with_caching(prompt_parser.get_learned_conditioning, negative_prompts, total_steps, [self.cached_uc], self.extra_network_data)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user