diff options
author | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-12-03 15:05:47 +0000 |
---|---|---|
committer | Vladimir Repin <32306715+mezotaken@users.noreply.github.com> | 2022-12-03 15:05:47 +0000 |
commit | cf3e844d1d31d64f3234a0fbdfcac91cc5834657 (patch) | |
tree | fe3310f6f5b15075920f3ba7b72c568215070d94 /modules/shared.py | |
parent | 46b0d230e7c13e247eabb22e1103ce512e7ed6b1 (diff) | |
download | stable-diffusion-webui-gfx803-cf3e844d1d31d64f3234a0fbdfcac91cc5834657.tar.gz stable-diffusion-webui-gfx803-cf3e844d1d31d64f3234a0fbdfcac91cc5834657.tar.bz2 stable-diffusion-webui-gfx803-cf3e844d1d31d64f3234a0fbdfcac91cc5834657.zip |
add noise strength parameter similar to NAI
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 8202d8e5..4182e2ac 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -364,6 +364,7 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), { "sd_hypernetwork": OptionInfo("None", "Hypernetwork", gr.Dropdown, lambda: {"choices": ["None"] + [x for x in hypernetworks.keys()]}, refresh=reload_hypernetworks),
"sd_hypernetwork_strength": OptionInfo(1.0, "Hypernetwork strength", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.001}),
"inpainting_mask_weight": OptionInfo(1.0, "Inpainting conditioning mask strength", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
+ "initial_noise_multiplier": OptionInfo(1.0, "Multiply initial noise by this factor, may result in less or more detailed img2img", gr.Slider, {"minimum": 0.5, "maximum": 1.5, "step": 0.01 }),
"img2img_color_correction": OptionInfo(False, "Apply color correction to img2img results to match original colors."),
"img2img_fix_steps": OptionInfo(False, "With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising)."),
"enable_quantization": OptionInfo(False, "Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds. Requires restart to apply."),
|