diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-24 07:07:54 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-24 07:07:54 +0000 |
commit | 995ff5902fe0567e4cb2aa2e8ac3d554fca7b1ab (patch) | |
tree | e323e74874b95c48c5357b749cea0c454460ea7c /modules/processing.py | |
parent | b0211ff7f865da3ada6e97c1c86a368d0571ae70 (diff) | |
download | stable-diffusion-webui-gfx803-995ff5902fe0567e4cb2aa2e8ac3d554fca7b1ab.tar.gz stable-diffusion-webui-gfx803-995ff5902fe0567e4cb2aa2e8ac3d554fca7b1ab.tar.bz2 stable-diffusion-webui-gfx803-995ff5902fe0567e4cb2aa2e8ac3d554fca7b1ab.zip |
add infotext for use_old_scheduling option
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/processing.py b/modules/processing.py index 066351c1..7dc931ba 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -437,6 +437,12 @@ class StableDiffusionProcessing: caches is a list with items described above.
"""
+ if shared.opts.use_old_scheduling:
+ old_schedules = prompt_parser.get_learned_conditioning_prompt_schedules(required_prompts, steps, hires_steps, False)
+ new_schedules = prompt_parser.get_learned_conditioning_prompt_schedules(required_prompts, steps, hires_steps, True)
+ if old_schedules != new_schedules:
+ self.extra_generation_params["Old prompt editing timelines"] = True
+
cached_params = self.cached_params(required_prompts, steps, extra_network_data, hires_steps, shared.opts.use_old_scheduling)
for cache in caches:
|