Commit 37906e42 authored by Chengsong Zhang's avatar Chengsong Zhang Committed by GitHub

make denoiser None by default

parent f56cebf5
...@@ -41,7 +41,7 @@ class ExtraNoiseParams: ...@@ -41,7 +41,7 @@ class ExtraNoiseParams:
class CFGDenoiserParams: 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 self.x = x
"""Latent image representation in the process of being denoised""" """Latent image representation in the process of being denoised"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment