Avoid breaking popular extension

This commit is contained in:
asagi4 2024-09-24 19:14:36 +03:00
parent 433a02b2e8
commit 18183ad22d
1 changed files with 3 additions and 0 deletions

View File

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