aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorcatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-06 01:42:03 +0000
committercatboxanon <122327233+catboxanon@users.noreply.github.com>2023-08-06 01:42:03 +0000
commitc11104fed5ffee7b9a22674889580028296c5e55 (patch)
tree9f27c3bf78fb5d9ea1fcec6ddeecec9fd3508560 /modules/shared.py
parentc6278c15a81bf65efb65ded50368972a920cc198 (diff)
downloadstable-diffusion-webui-gfx803-c11104fed5ffee7b9a22674889580028296c5e55.tar.gz
stable-diffusion-webui-gfx803-c11104fed5ffee7b9a22674889580028296c5e55.tar.bz2
stable-diffusion-webui-gfx803-c11104fed5ffee7b9a22674889580028296c5e55.zip
Add s_tmax
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index a99b500b..b1c0c0e9 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -608,6 +608,7 @@ options_templates.update(options_section(('sampler-params', "Sampler parameters"
"ddim_discretize": OptionInfo('uniform', "img2img DDIM discretize", gr.Radio, {"choices": ['uniform', 'quad']}),
's_churn': OptionInfo(0.0, "sigma churn", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
's_tmin': OptionInfo(0.0, "sigma tmin", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
+ 's_tmax': OptionInfo(0.0, "sigma tmax", gr.Slider, {"minimum": 0.0, "maximum": 999.0, "step": 0.01}).info("0 = inf"),
's_noise': OptionInfo(1.0, "sigma noise", gr.Slider, {"minimum": 0.0, "maximum": 1.0, "step": 0.01}),
'k_sched_type': OptionInfo("Automatic", "scheduler type", gr.Dropdown, {"choices": ["Automatic", "karras", "exponential", "polyexponential"]}).info("lets you override the noise schedule for k-diffusion samplers; choosing Automatic disables the three parameters below"),
'sigma_min': OptionInfo(0.0, "sigma min", gr.Number).info("0 = default (~0.03); minimum noise strength for k-diffusion noise scheduler"),