remove noneed scale

This commit is contained in:
Kohaku-Blueleaf 2023-08-04 17:55:52 +08:00
parent 6346d8eeaa
commit 073342c887
1 changed files with 1 additions and 1 deletions

View File

@ -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