mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 06:40:48 +08:00
Improve custom node compatibility by including this stub symbol
This commit is contained in:
parent
40902acc28
commit
995807b4be
@ -21,13 +21,14 @@ from .. import sd
|
||||
from .. import utils
|
||||
from .. import clip_vision as clip_vision_module
|
||||
from .. import model_management
|
||||
from .. import ops
|
||||
from ..cli_args import args
|
||||
|
||||
from ..cmd import folder_paths, latent_preview
|
||||
from ..component_model.deprecation import _deprecate_method
|
||||
from ..component_model.tensor_types import RGBImage, RGBImageBatch, MaskBatch
|
||||
from ..execution_context import current_execution_context
|
||||
from ..images import open_image
|
||||
from ..interruption import interrupt_current_processing
|
||||
from ..ldm.flux.weight_dtypes import FLUX_WEIGHT_DTYPES
|
||||
from ..model_downloader import get_filename_list_with_downloadable, get_or_download, KNOWN_CHECKPOINTS, KNOWN_CLIP_VISION_MODELS, KNOWN_GLIGEN_MODELS, KNOWN_UNCLIP_CHECKPOINTS, KNOWN_LORAS, KNOWN_CONTROLNETS, KNOWN_DIFF_CONTROLNETS, KNOWN_VAES, KNOWN_APPROX_VAES, get_huggingface_repo_list, KNOWN_CLIP_MODELS, KNOWN_UNET_MODELS
|
||||
from ..nodes.common import MAX_RESOLUTION
|
||||
@ -38,6 +39,11 @@ from ..sd import VAE
|
||||
from ..utils import comfy_tqdm
|
||||
|
||||
|
||||
@_deprecate_method(version="0.2.3", message="Use interrupt_current_processing from comfy.interruption")
|
||||
def interrupt_processing(value=True):
|
||||
interrupt_current_processing(value)
|
||||
|
||||
|
||||
class CLIPTextEncode:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user