l, defaults to 0.4) —
Defines how safety guidance momentum builds up. sld_mom_beta indicates how much of the previous
momentum will be kept. Momentum is already built up during warmup, i.e. for diffusion steps smaller
than sld_warmup_steps. sld_mom_beta is defined as beta m of Eq. 8 in Safe Latent
Diffusion.


Returns

StableDiffusionPipelineOutput or tuple



StableDiffusionPipelineOutput if return_dict is True, otherwise a tuple. When returni