diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-05-27 17:10:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 17:10:17 +0000 |
commit | d0e8fa627d139dfe08a084ee021f63ed7c2039ab (patch) | |
tree | eea2e3db017a53f5d970f79feb10ca7e20163e8e /modules/shared.py | |
parent | 2fc2fbb4ea34899220b141eb67b9515b433feb71 (diff) | |
parent | fb5d0ef2090b06001195ee22e86964059c223d06 (diff) | |
download | stable-diffusion-webui-gfx803-d0e8fa627d139dfe08a084ee021f63ed7c2039ab.tar.gz stable-diffusion-webui-gfx803-d0e8fa627d139dfe08a084ee021f63ed7c2039ab.tar.bz2 stable-diffusion-webui-gfx803-d0e8fa627d139dfe08a084ee021f63ed7c2039ab.zip |
Merge pull request #10569 from strelokhalfer/pr
Change 'images.zip' to pattern settings
Diffstat (limited to 'modules/shared.py')
-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 daab38dc..4d59fbf1 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -314,6 +314,7 @@ options_templates.update(options_section(('saving-images', "Saving images/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)"),
+ "grid_zip_filename_pattern": OptionInfo("", "Archive filename pattern", component_args=hide_dirs).link("wiki", "https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Custom-Images-Filename-Name-and-Subdirectory"),
"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"),
|