mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-26 15:38:53 -03:00
indent fix
This commit is contained in:
@@ -1416,10 +1416,11 @@ class TSC_KSampler:
|
||||
if preview_method != "none":
|
||||
send_command_to_frontend(startListening=True, maxCount=steps - 1, sendBlob=False)
|
||||
|
||||
|
||||
samples = sample_latent_image(model, seed, steps, cfg, sampler_name, scheduler,
|
||||
positive, negative, latent_image, denoise, sampler_type, add_noise, start_at_step, end_at_step,
|
||||
return_with_leftover_noise, refiner_model, refiner_positive, refiner_negative)
|
||||
samples = sample_latent_image(model, seed, steps, cfg, sampler_name, scheduler, positive, negative,
|
||||
latent_image, denoise, sampler_type, add_noise, start_at_step,
|
||||
end_at_step,
|
||||
return_with_leftover_noise, refiner_model, refiner_positive,
|
||||
refiner_negative)
|
||||
|
||||
# Add the latent tensor to the tensors list
|
||||
latent_list.append(samples)
|
||||
@@ -1427,9 +1428,6 @@ class TSC_KSampler:
|
||||
# Decode the latent tensor
|
||||
image = vae_decode_latent(vae, samples, vae_decode)
|
||||
|
||||
if xy_capsule is not None:
|
||||
xy_capsule.set_result(image, latent)
|
||||
|
||||
# Add the resulting image tensor to image_tensor_list
|
||||
image_tensor_list.append(image)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user