aboutsummaryrefslogtreecommitdiff
path: root/modules/shared_options.py
diff options
context:
space:
mode:
authorcatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-17 20:03:26 -0400
committercatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-17 20:03:26 -0400
commit3ce5fb8e5c3a6577172e89e964d570f8b31a998b (patch)
tree31a5d2ec15c318d8f4928a5e1ea7dfcddd6e2790 /modules/shared_options.py
parent541ef9247cfe8785c12f7142ad02cd5310fc5925 (diff)
Add option for faster live interrupt
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r--modules/shared_options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py
index 79cbb92e..3e4bcaef 100644
--- a/modules/shared_options.py
+++ b/modules/shared_options.py
@@ -281,6 +281,7 @@ options_templates.update(options_section(('ui', "Live previews"), {
"show_progress_type": OptionInfo("Approx NN", "Live preview method", gr.Radio, {"choices": ["Full", "Approx NN", "Approx cheap", "TAESD"]}).info("Full = slow but pretty; Approx NN and TAESD = fast but low quality; Approx cheap = super fast but terrible otherwise"),
"live_preview_content": OptionInfo("Prompt", "Live preview subject", gr.Radio, {"choices": ["Combined", "Prompt", "Negative prompt"]}),
"live_preview_refresh_period": OptionInfo(1000, "Progressbar and preview update period").info("in milliseconds"),
+ "live_preview_fast_interrupt": OptionInfo(False, "Return image with chosen live preview method on interrupt").info("makes interrupts faster"),
}))
options_templates.update(options_section(('sampler-params', "Sampler parameters"), {