diff --git a/custom_samplers.py b/custom_samplers.py index 2378b49..0ba7ded 100644 --- a/custom_samplers.py +++ b/custom_samplers.py @@ -80,7 +80,7 @@ class SamplerDistanceAdvanced: def INPUT_TYPES(s): return {"required": {"resample": ("INT", {"default": 3, "min": 0, "max": 128, "step": 1, "tooltip":"0 all along gives Euler. 1 gives Heun.\nAnything starting from 2 will use the distance method."}), - "resample_end": ("INT", {"default": -1, "min": 0, "max": 128, "step": 1, "tooltip":"How many resamples for the end. -1 means constant."}), + "resample_end": ("INT", {"default": -1, "min": 0, "max": 32, "step": 1, "tooltip":"How many resamples for the end. -1 means constant."}), "cfgpp" : ("BOOLEAN", {"default": True}), }} RETURN_TYPES = ("SAMPLER",) @@ -90,4 +90,4 @@ class SamplerDistanceAdvanced: def get_sampler(self,resample,resample_end,cfgpp): sampler = comfy.samplers.KSAMPLER( distance_wrap(resample=resample,cfgpp=cfgpp,resample_end=resample_end)) - return (sampler, ) \ No newline at end of file + return (sampler, )