aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared_options.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-10-14 04:30:31 +0000
committerGitHub <noreply@github.com>2023-10-14 04:30:31 +0000
commit499543cf1deb382ef9414e601ebef0015248b7ea (patch)
tree933d2d0ced515e149b118b4980e73a4ddd838c37 /modules/shared_options.py
parent902afa6b4cdaba5820d07631b039158a56ab1403 (diff)
parent44d14bc32e4a5501df04f844a00f9e18b777f7eb (diff)
downloadstable-diffusion-webui-gfx803-499543cf1deb382ef9414e601ebef0015248b7ea.tar.gz
stable-diffusion-webui-gfx803-499543cf1deb382ef9414e601ebef0015248b7ea.tar.bz2
stable-diffusion-webui-gfx803-499543cf1deb382ef9414e601ebef0015248b7ea.zip
Merge pull request #13631 from galekseev/master
added option to play notification sound or not
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r--modules/shared_options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py
index ab9b0072..cb356638 100644
--- a/modules/shared_options.py
+++ b/modules/shared_options.py
@@ -22,6 +22,7 @@ restricted_opts = {
}
options_templates.update(options_section(('saving-images', "Saving images/grids"), {
+ "notification_audio": OptionInfo(True, "Play notification sound after image generation", comment_after="(notification.mp3 should be present in the root directory)").needs_reload_ui(),
"samples_save": OptionInfo(True, "Always save all generated images"),
"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"),