aboutsummaryrefslogtreecommitdiff
path: root/modules/shared.py
diff options
context:
space:
mode:
authorGugubo <29143981+Gugubo@users.noreply.github.com>2022-10-14 17:06:51 +0200
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-14 19:54:24 +0300
commit43f926aad1b77a4bb642c1d173adfae1f56cf42d (patch)
treeab2ad56d5afc547b986a5def444c200364972f3f /modules/shared.py
parent2fb9891af3bb4c36a6de6b44937e927bda43c10d (diff)
Add option to prevent empty spots in grid (1/2)
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
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"),