mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-26 14:22:07 -08:00
Merge branch 'AUTOMATIC1111:master' into #1484_fix_empty_styles_pattern
This commit is contained in:
commit
80c418c0d3
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class VanillaStableDiffusionSampler:
|
|||
return res
|
||||
|
||||
def initialize(self, p):
|
||||
self.eta = p.eta or opts.eta_ddim
|
||||
self.eta = p.eta if p.eta is not None else opts.eta_ddim
|
||||
|
||||
for fieldname in ['p_sample_ddim', 'p_sample_plms']:
|
||||
if hasattr(self.sampler, fieldname):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue