make denoiser None by default

This commit is contained in:
Chengsong Zhang
2024-01-07 20:17:42 -06:00
committed by GitHub
parent f56cebf5ba
commit 37906e429a

View File

@@ -41,7 +41,7 @@ class ExtraNoiseParams:
class CFGDenoiserParams:
def __init__(self, x, image_cond, sigma, sampling_step, total_sampling_steps, text_cond, text_uncond, denoiser):
def __init__(self, x, image_cond, sigma, sampling_step, total_sampling_steps, text_cond, text_uncond, denoiser=None):
self.x = x
"""Latent image representation in the process of being denoised"""