aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-05-11 21:24:44 +0300
committerGitHub <noreply@github.com>2023-05-11 21:24:44 +0300
commitb4aaa339d529c81859858f0bedcc72b44fccd3d0 (patch)
tree4db39eeca52a880b8757b88f947f7fbe240aa5fa /modules/shared.py
parentba7ae7b948c307083dcb703ca2bc623cc7506cd0 (diff)
parentda10de022f69e7847bcc64a7914d56246d852e20 (diff)
Merge pull request #10290 from akx/smart-live-preview-format
Make live previews use JPEG only for large images
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 210424ac..1df1dd45 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -420,7 +420,7 @@ options_templates.update(options_section(('infotext', "Infotext"), {
options_templates.update(options_section(('ui', "Live previews"), {
"show_progressbar": OptionInfo(True, "Show progressbar"),
"live_previews_enable": OptionInfo(True, "Show live previews of the created image"),
- "live_previews_format": OptionInfo("jpeg", "Live preview file format", gr.Radio, {"choices": ["jpeg", "png", "webp"]}),
+ "live_previews_format": OptionInfo("auto", "Live preview file format", gr.Radio, {"choices": ["auto", "jpeg", "png", "webp"]}),
"show_progress_grid": OptionInfo(True, "Show previews of all images generated in a batch as a grid"),
"show_progress_every_n_steps": OptionInfo(10, "Show new live preview image every N sampling steps. Set to -1 to show after completion of batch.", gr.Slider, {"minimum": -1, "maximum": 32, "step": 1}),
"show_progress_type": OptionInfo("Approx NN", "Image creation progress preview mode", gr.Radio, {"choices": ["Full", "Approx NN", "Approx cheap"]}),