Commit 073342c8 authored by Kohaku-Blueleaf's avatar Kohaku-Blueleaf
Browse files

remove noneed scale

parent 6346d8ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ def images_tensor_to_samples(image, approximation=None, model=None):

    if approximation == 3:
        image = image.to(devices.device, devices.dtype)
        x_latent = sd_vae_taesd.encoder_model()(image) / 1.5
        x_latent = sd_vae_taesd.encoder_model()(image)
    else:
        if model is None:
            model = shared.sd_model