diff --git a/latent_preview.py b/latent_preview.py index 189699f11..94ce29c9f 100644 --- a/latent_preview.py +++ b/latent_preview.py @@ -4,6 +4,9 @@ from comfy.cli_args import args, LatentPreviewMethod import comfy.model_management import comfy.utils +# Import this here to avoid breaking ComfyUI-Impact-Pack +from comfy.taesd.taesd import TAESD + MAX_PREVIEW_RESOLUTION = args.preview_size def preview_to_image(latent_image):