From cff639c9745c0ac4adbc22d0bfc924cbf1bc000f Mon Sep 17 00:00:00 2001 From: Extraltodeus Date: Tue, 27 Aug 2024 09:52:30 +0200 Subject: [PATCH] Update custom_samplers.py --- custom_samplers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, )