aboutsummaryrefslogtreecommitdiff
path: root/modules/shared_options.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-09-09 09:08:31 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-09-09 09:08:31 +0300
commit3ca4655a18eb80cca5f806412f2cb2d56cc536e5 (patch)
tree2517ecb891b3c38a5a3ca1deb0280da0d96595d8 /modules/shared_options.py
parent329c8ab93216f9e77002e68aab418d63d82cd872 (diff)
update for #12926
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r--modules/shared_options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py
index 2f4caa9d..1befb6ea 100644
--- a/modules/shared_options.py
+++ b/modules/shared_options.py
@@ -26,7 +26,7 @@ options_templates.update(options_section(('saving-images', "Saving images/grids"
"samples_format": OptionInfo('png', 'File format for images'),
"samples_filename_pattern": OptionInfo("", "Images filename pattern", component_args=hide_dirs).link("wiki", "https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Custom-Images-Filename-Name-and-Subdirectory"),
"save_images_add_number": OptionInfo(True, "Add number to filename when saving", component_args=hide_dirs),
- "save_images_add_number_suffix": OptionInfo(True, "Add number suffix when necessary", component_args=hide_dirs).info("prevent existing image from being override"),
+ "save_images_replace_action": OptionInfo("Replace", "Saving the image to an existing file", gr.Radio, {"choices": ["Replace", "Add number suffix"], **hide_dirs}),
"grid_save": OptionInfo(True, "Always save all generated image grids"),
"grid_format": OptionInfo('png', 'File format for grids'),
"grid_extended_filename": OptionInfo(False, "Add extended info (seed, prompt) to filename when saving grid"),