aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-24 07:07:54 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-24 07:07:54 +0000
commit995ff5902fe0567e4cb2aa2e8ac3d554fca7b1ab (patch)
treee323e74874b95c48c5357b749cea0c454460ea7c /modules/processing.py
parentb0211ff7f865da3ada6e97c1c86a368d0571ae70 (diff)
downloadstable-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.py6
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: