diff options
author | Aidan Holland <thehappydinoa@gmail.com> | 2022-10-08 19:12:24 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-08 19:42:30 +0000 |
commit | 432782163ae53e605470bcefc9a6f796c4556912 (patch) | |
tree | f2d3b66f42702599bbbe2267e6b27349ed970d1c /modules/sd_samplers.py | |
parent | 610a7f4e1480c0ffeedb2a07dc27ae86bf03c3a8 (diff) | |
download | stable-diffusion-webui-gfx803-432782163ae53e605470bcefc9a6f796c4556912.tar.gz stable-diffusion-webui-gfx803-432782163ae53e605470bcefc9a6f796c4556912.tar.bz2 stable-diffusion-webui-gfx803-432782163ae53e605470bcefc9a6f796c4556912.zip |
chore: Fix typos
Diffstat (limited to 'modules/sd_samplers.py')
-rw-r--r-- | modules/sd_samplers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/sd_samplers.py b/modules/sd_samplers.py index eade0dbb..6e743f7e 100644 --- a/modules/sd_samplers.py +++ b/modules/sd_samplers.py @@ -181,7 +181,7 @@ class VanillaStableDiffusionSampler: self.initialize(p)
- # existing code fails with cetain step counts, like 9
+ # existing code fails with certain step counts, like 9
try:
self.sampler.make_schedule(ddim_num_steps=steps, ddim_eta=self.eta, ddim_discretize=p.ddim_discretize, verbose=False)
except Exception:
@@ -204,7 +204,7 @@ class VanillaStableDiffusionSampler: steps = steps or p.steps
- # existing code fails with cetin step counts, like 9
+ # existing code fails with certain step counts, like 9
try:
samples_ddim, _ = self.sampler.sample(S=steps, conditioning=conditioning, batch_size=int(x.shape[0]), shape=x[0].shape, verbose=False, unconditional_guidance_scale=p.cfg_scale, unconditional_conditioning=unconditional_conditioning, x_T=x, eta=self.eta)
except Exception:
|