Forgot to remove nodes from __init__.py

This commit is contained in:
asagi4
2023-12-06 18:48:40 +02:00
parent 952a764b3f
commit d49ba9caa1
3 changed files with 2 additions and 31 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ Then restart ComfyUI afterwards.
I try to avoid behavioural changes that break old prompts, but they may happen occasionally.
- 2023-12-06: Removed `JinjaRender`, `SimpleWildcard`, `ConditioningCutoff` and `StringConcat`. For the first two, see [this repository](https://github.com/asagi4/comfyui-utility-nodes) for mostly-compatible implementations.
- 2023-12-06: Removed `JinjaRender`, `SimpleWildcard`, `ConditioningCutoff`, `CondLinearInterpolate` and `StringConcat`. For the first two, see [this repository](https://github.com/asagi4/comfyui-utility-nodes) for mostly-compatible implementations.
- 2023-10-04: `STYLE:...` syntax changed to `STYLE(...)`
## Note on how schedules work
+1 -10
View File
@@ -11,15 +11,11 @@ else:
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy"))
from .prompt_control.node_clip import EditableCLIPEncode, ScheduleToCond, CondLinearInterpolate
from .prompt_control.node_clip import EditableCLIPEncode, ScheduleToCond
from .prompt_control.node_lora import LoRAScheduler, ScheduleToModel, PCSplitSampling
from .prompt_control.node_other import (
ConditioningCutoff,
JinjaRender,
PromptToSchedule,
FilterSchedule,
StringConcat,
SimpleWildcard,
)
from .prompt_control.node_aio import PromptControlSimple
@@ -31,11 +27,6 @@ NODE_CLASS_MAPPINGS = {
"FilterSchedule": FilterSchedule,
"ScheduleToCond": ScheduleToCond,
"ScheduleToModel": ScheduleToModel,
"JinjaRender": JinjaRender,
"StringConcat": StringConcat,
"SimpleWildcard": SimpleWildcard,
"EditableCLIPEncode": EditableCLIPEncode,
"LoRAScheduler": LoRAScheduler,
"ConditioningCutoff": ConditioningCutoff,
"CondLinearInterpolate": CondLinearInterpolate,
}
-20
View File
@@ -123,26 +123,6 @@ def linear_interpolator(control_points, step, start_pct, end_pct):
return conds
class CondLinearInterpolate:
@classmethod
def INPUT_TYPES(s):
return {
"required": {"start": ("CONDITIONING",), "end": ("CONDITIONING",)},
"optional": {
"until": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
"step": ("FLOAT", {"default": 0.1, "min": 0.0, "max": 1.0, "step": 0.01}),
},
}
RETURN_TYPES = ("CONDITIONING",)
FUNCTION = "apply"
CATEGORY = "promptcontrol/exp"
def apply(self, start, end, until=1.0, step=0.1):
res = linear_interpolate_cond(start, end, 0.0, until, step)
return (res,)
class ScheduleToCond:
@classmethod
def INPUT_TYPES(s):