diff --git a/docs/ADE_AnimateDiffLoaderGen1.md b/docs/ADE_AnimateDiffLoaderGen1.md index 948f63d..f78c3cf 100644 --- a/docs/ADE_AnimateDiffLoaderGen1.md +++ b/docs/ADE_AnimateDiffLoaderGen1.md @@ -57,8 +57,8 @@ ADE_AnimateDiffLoaderGen1 节点旨在加载和初始化第一代 AnimateDiff - Python dtype: `str` ## Usage tips - Infra type: `CPU` -- Common nodes: - - [KSampler](../../Comfy/Nodes/KSampler.md) + ## Source code ```python @@ -104,7 +104,7 @@ class AnimateDiffLoaderGen1: motion_model.scale_multival = scale_multival motion_model.effect_multival = effect_multival motion_model.keyframes = ad_keyframes.clone() if ad_keyframes else ADKeyframeGroup() - + # create injection params params = InjectionParams(unlimited_area_hack=False, model_name=motion_model.model.mm_info.mm_name) # apply context options @@ -120,13 +120,13 @@ class AnimateDiffLoaderGen1: # backwards compatibility to support old way of masking scale if params.motion_model_settings.mask_attn_scale is not None: motion_model.scale_multival = get_combined_multival(scale_multival, (params.motion_model_settings.mask_attn_scale * params.motion_model_settings.attn_scale)) - + # need to use a ModelPatcher that supports injection of motion modules into unet model = ModelPatcherAndInjector.create_from(model, hooks_only=True) model.motion_models = MotionModelGroup(motion_model) model.sample_settings = sample_settings if sample_settings is not None else SampleSettings() model.motion_injection_params = params - + if model.sample_settings.custom_cfg is not None: logger.info("[Sample Settings] custom_cfg is set; will override any KSampler cfg values or patches.") diff --git a/docs/ADE_ApplyAnimateDiffModel.md b/docs/ADE_ApplyAnimateDiffModel.md index 54aa15d..70a6ebd 100644 --- a/docs/ADE_ApplyAnimateDiffModel.md +++ b/docs/ADE_ApplyAnimateDiffModel.md @@ -52,8 +52,8 @@ ADE_ApplyAnimateDiffModel节点旨在应用高级AnimateDiff模型配置以生 ## Usage tips - Infra type: GPU -- Common nodes: - - [ADE_UseEvolvedSampling](../../ComfyUI-AnimateDiff-Evolved/Nodes/ADE_UseEvolvedSampling.md) + ## Source code ```python @@ -74,7 +74,7 @@ class ApplyAnimateDiffModelNode: "prev_m_models": ("M_MODELS",), } } - + RETURN_TYPES = ("M_MODELS",) CATEGORY = "Animate Diff 🎭🅐🅓/② Gen2 nodes ②" FUNCTION = "apply_motion_model" diff --git a/docs/ADE_EmptyLatentImageLarge.md b/docs/ADE_EmptyLatentImageLarge.md index d8923ac..cddc65b 100644 --- a/docs/ADE_EmptyLatentImageLarge.md +++ b/docs/ADE_EmptyLatentImageLarge.md @@ -30,9 +30,9 @@ ADE_EmptyLatentImageLarge节点旨在初始化一个用零填充的大型潜在 ## Usage tips - Infra type: GPU -- Common nodes: + ## Source code ```python diff --git a/docs/ADE_LoadAnimateDiffModel.md b/docs/ADE_LoadAnimateDiffModel.md index 3ee0206..0f9e1a8 100644 --- a/docs/ADE_LoadAnimateDiffModel.md +++ b/docs/ADE_LoadAnimateDiffModel.md @@ -28,8 +28,8 @@ ## Usage tips - Infra type: GPU -- Common nodes: - - [ADE_ApplyAnimateDiffModel](../../ComfyUI-AnimateDiff-Evolved/Nodes/ADE_ApplyAnimateDiffModel.md) + ## Source code ```python diff --git a/docs/ADE_UseEvolvedSampling.md b/docs/ADE_UseEvolvedSampling.md index 3c18947..6621107 100644 --- a/docs/ADE_UseEvolvedSampling.md +++ b/docs/ADE_UseEvolvedSampling.md @@ -40,11 +40,11 @@ ADE_UseEvolvedSampling节点将先进的采样技术集成到动画扩散过程 ## Usage tips - Infra type: CPU -- Common nodes: + ## Source code ```python @@ -63,7 +63,7 @@ class UseEvolvedSamplingNode: #"beta_schedule_override": ("BETA_SCHEDULE",), } } - + RETURN_TYPES = ("MODEL",) CATEGORY = "Animate Diff 🎭🅐🅓/② Gen2 nodes ②" FUNCTION = "use_evolved_sampling" @@ -108,6 +108,6 @@ class UseEvolvedSamplingNode: new_model_sampling = BetaSchedules.to_model_sampling(beta_schedule, model) if new_model_sampling is not None: model.add_object_patch("model_sampling", new_model_sampling) - + del m_models return (model,) \ No newline at end of file diff --git a/docs/CheckpointLoader%7Cpysssss.md b/docs/CheckpointLoader%7Cpysssss.md index d534fe9..dbc922e 100644 --- a/docs/CheckpointLoader%7Cpysssss.md +++ b/docs/CheckpointLoader%7Cpysssss.md @@ -30,7 +30,7 @@ ## Usage tips - Infra type: CPU -- Common nodes: + ## Source code ```python diff --git a/docs/CheckpointLoaderSimpleWithNoiseSelect.md b/docs/CheckpointLoaderSimpleWithNoiseSelect.md index 71152c2..8303698 100644 --- a/docs/CheckpointLoaderSimpleWithNoiseSelect.md +++ b/docs/CheckpointLoaderSimpleWithNoiseSelect.md @@ -44,7 +44,7 @@ ## Usage tips - Infra type: GPU -- Common nodes: + ## Source code ```python diff --git a/docs/LoraLoader%7Cpysssss.md b/docs/LoraLoader%7Cpysssss.md index 12df490..f73d985 100644 --- a/docs/LoraLoader%7Cpysssss.md +++ b/docs/LoraLoader%7Cpysssss.md @@ -42,13 +42,13 @@ ## Usage tips - Infra type: GPU -- Common nodes: + ## Source code ```python diff --git a/docs/ShowText%7Cpysssss.md b/docs/ShowText%7Cpysssss.md index 9629ffe..25f7ce4 100644 --- a/docs/ShowText%7Cpysssss.md +++ b/docs/ShowText%7Cpysssss.md @@ -24,12 +24,12 @@ ShowText节点用于在工作流程中显示文本,允许基于输入文本动 ## Usage tips - Infra type: CPU -- Common nodes: + ## Source code ```python diff --git a/docs/StringFunction%7Cpysssss.md b/docs/StringFunction%7Cpysssss.md index ccf863d..9f754d2 100644 --- a/docs/StringFunction%7Cpysssss.md +++ b/docs/StringFunction%7Cpysssss.md @@ -40,8 +40,8 @@ String Function节点提供了操作字符串的实用工具,包括追加、 ## Usage tips - Infra type: CPU -- Common nodes: - - [CLIPTextEncode](../../Comfy/Nodes/CLIPTextEncode.md) + ## Source code ```python