indent fix

This commit is contained in:
Dr.Lt.Data
2023-08-31 13:20:04 +09:00
parent 1a0a59060d
commit 583da4999e

View File

@@ -1416,10 +1416,11 @@ class TSC_KSampler:
if preview_method != "none": if preview_method != "none":
send_command_to_frontend(startListening=True, maxCount=steps - 1, sendBlob=False) send_command_to_frontend(startListening=True, maxCount=steps - 1, sendBlob=False)
samples = sample_latent_image(model, seed, steps, cfg, sampler_name, scheduler, positive, negative,
samples = sample_latent_image(model, seed, steps, cfg, sampler_name, scheduler, latent_image, denoise, sampler_type, add_noise, start_at_step,
positive, negative, latent_image, denoise, sampler_type, add_noise, start_at_step, end_at_step, end_at_step,
return_with_leftover_noise, refiner_model, refiner_positive, refiner_negative) return_with_leftover_noise, refiner_model, refiner_positive,
refiner_negative)
# Add the latent tensor to the tensors list # Add the latent tensor to the tensors list
latent_list.append(samples) latent_list.append(samples)
@@ -1427,9 +1428,6 @@ class TSC_KSampler:
# Decode the latent tensor # Decode the latent tensor
image = vae_decode_latent(vae, samples, vae_decode) 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 # Add the resulting image tensor to image_tensor_list
image_tensor_list.append(image) image_tensor_list.append(image)