From 42ab155f80018e4e07f0f3e5b258b52d9ad33e68 Mon Sep 17 00:00:00 2001 From: yolain Date: Sat, 8 Jun 2024 17:59:02 +0800 Subject: [PATCH] fix:align_your_steps can not working #204 --- py/libs/sampler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/libs/sampler.py b/py/libs/sampler.py index 26962f3..4943dfc 100644 --- a/py/libs/sampler.py +++ b/py/libs/sampler.py @@ -151,7 +151,7 @@ class easySampler: # noise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, # seed=seed) - samples = comfy.samplers.sample(model, noise, positive, negative, cfg, device, _sampler, sigmas, latent_image=latent_image, + samples = comfy.samplers.sample(model, noise, positive, negative, cfg, device, _sampler, sigmas, latent_image=latent_image, model_options=model.model_options, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed) out = latent.copy()