diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-11-07 05:29:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 05:29:06 +0000 |
commit | 47bccbebaeeda87fdf2df752f59bdb9e54a3dddf (patch) | |
tree | 2354924014d44ec67f06987d07e46d94e58b58ea /modules/shared_options.py | |
parent | 9c1c0da026cb7ef091a0f3fa24b14ae8634f6de5 (diff) | |
parent | 9ba991cad8a15a99f71f5b2ec5feff7dd9d270d7 (diff) | |
download | stable-diffusion-webui-gfx803-47bccbebaeeda87fdf2df752f59bdb9e54a3dddf.tar.gz stable-diffusion-webui-gfx803-47bccbebaeeda87fdf2df752f59bdb9e54a3dddf.tar.bz2 stable-diffusion-webui-gfx803-47bccbebaeeda87fdf2df752f59bdb9e54a3dddf.zip |
Merge pull request #13884 from GerryDE/notification-sound-volume
Add option to set notification sound volume
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r-- | modules/shared_options.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py index a9964fcb..d40db530 100644 --- a/modules/shared_options.py +++ b/modules/shared_options.py @@ -64,6 +64,7 @@ options_templates.update(options_section(('saving-images', "Saving images/grids" "save_incomplete_images": OptionInfo(False, "Save incomplete images").info("save images that has been interrupted in mid-generation; even if not saved, they will still show up in webui output."),
"notification_audio": OptionInfo(True, "Play notification sound after image generation").info("notification.mp3 should be present in the root directory").needs_reload_ui(),
+ "notification_volume": OptionInfo(100, "Notification sound volume", gr.Slider, {"minimum": 0, "maximum": 100, "step": 1}).info("in %"),
}))
options_templates.update(options_section(('saving-paths', "Paths for saving"), {
|