diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-14 08:15:15 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-14 08:15:15 +0000 |
commit | a58ae0b7174d9903fa426def2eda842dbbfcb53c (patch) | |
tree | 695529a427d82b419bcf60da497747ce04072c65 /modules/shared.py | |
parent | a00e42556ffbc1b757fda5ba3f85a9e11c931441 (diff) | |
download | stable-diffusion-webui-gfx803-a58ae0b7174d9903fa426def2eda842dbbfcb53c.tar.gz stable-diffusion-webui-gfx803-a58ae0b7174d9903fa426def2eda842dbbfcb53c.tar.bz2 stable-diffusion-webui-gfx803-a58ae0b7174d9903fa426def2eda842dbbfcb53c.zip |
remove auto live previews format option, fix slow PNG generation
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index a0577644..07f18b1b 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -445,7 +445,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("auto", "Live preview file format", gr.Radio, {"choices": ["auto", "jpeg", "png", "webp"]}),
+ "live_previews_image_format": OptionInfo("png", "Live preview file format", gr.Radio, {"choices": ["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, "Live preview display period", gr.Slider, {"minimum": -1, "maximum": 32, "step": 1}).info("in sampling steps - show new live preview image every N sampling steps; -1 = only show after completion of batch"),
"show_progress_type": OptionInfo("Approx NN", "Live preview method", gr.Radio, {"choices": ["Full", "Approx NN", "Approx cheap"]}).info("Full = slow but pretty; Approx NN = fast but low quality; Approx cheap = super fast but terrible otherwise"),
|