aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sd_samplers_timesteps.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-14 18:48:05 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-14 18:48:05 +0000
commit45be87afc6b173ebda94f427b8d396a2842ddf3c (patch)
tree551fb5f7c7fab608fdda4c32abe11768ee5fb109 /modules/sd_samplers_timesteps.py
parent5daf7983d141d3c79c03cc65238194383e6334c8 (diff)
downloadstable-diffusion-webui-gfx803-45be87afc6b173ebda94f427b8d396a2842ddf3c.tar.gz
stable-diffusion-webui-gfx803-45be87afc6b173ebda94f427b8d396a2842ddf3c.tar.bz2
stable-diffusion-webui-gfx803-45be87afc6b173ebda94f427b8d396a2842ddf3c.zip
correctly add Eta DDIM to infotext when it's 1.0 and do not add it when it's 0.0.
Diffstat (limited to 'modules/sd_samplers_timesteps.py')
-rw-r--r--modules/sd_samplers_timesteps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/sd_samplers_timesteps.py b/modules/sd_samplers_timesteps.py
index c1f534ed..66e83ff7 100644
--- a/modules/sd_samplers_timesteps.py
+++ b/modules/sd_samplers_timesteps.py
@@ -76,6 +76,7 @@ class CompVisSampler(sd_samplers_common.Sampler):
self.eta_option_field = 'eta_ddim'
self.eta_infotext_field = 'Eta DDIM'
+ self.eta_default = 0.0
self.model_wrap_cfg = CFGDenoiserTimesteps(self)