diff options
author | Gugubo <29143981+Gugubo@users.noreply.github.com> | 2022-10-14 15:06:51 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-14 16:54:24 +0000 |
commit | 43f926aad1b77a4bb642c1d173adfae1f56cf42d (patch) | |
tree | ab2ad56d5afc547b986a5def444c200364972f3f | |
parent | 2fb9891af3bb4c36a6de6b44937e927bda43c10d (diff) | |
download | stable-diffusion-webui-gfx803-43f926aad1b77a4bb642c1d173adfae1f56cf42d.tar.gz stable-diffusion-webui-gfx803-43f926aad1b77a4bb642c1d173adfae1f56cf42d.tar.bz2 stable-diffusion-webui-gfx803-43f926aad1b77a4bb642c1d173adfae1f56cf42d.zip |
Add option to prevent empty spots in grid (1/2)
-rw-r--r-- | modules/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index b6a5c1a8..159f504f 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -175,6 +175,7 @@ options_templates.update(options_section(('saving-images', "Saving images/grids" "grid_format": OptionInfo('png', 'File format for grids'),
"grid_extended_filename": OptionInfo(False, "Add extended info (seed, prompt) to filename when saving grid"),
"grid_only_if_multiple": OptionInfo(True, "Do not save grids consisting of one picture"),
+ "grid_prevent_empty_spots": OptionInfo(False, "Prevent empty spots in grid (when set to autodetect)"),
"n_rows": OptionInfo(-1, "Grid row count; use -1 for autodetect and 0 for it to be same as batch size", gr.Slider, {"minimum": -1, "maximum": 16, "step": 1}),
"enable_pnginfo": OptionInfo(True, "Save text information about generation parameters as chunks to png files"),
|