From e115e00d59c8fe4aade11e83f6b6d3b44bb4ab6e Mon Sep 17 00:00:00 2001 From: space-nuko <24979496+space-nuko@users.noreply.github.com> Date: Tue, 16 May 2023 08:42:48 -0500 Subject: [PATCH] Make some settings floats --- nodes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nodes.py b/nodes.py index 6688802..90232a9 100644 --- a/nodes.py +++ b/nodes.py @@ -158,10 +158,10 @@ class DiscoDiffusion: "n_batches": ("INT", {"default": 1, "min": 1, "max": 16}), # "max_frames": ("INT", {"default": 1, "min": 1, "max": 1000}), "sampling_mode": (["plms", "ddim", "stsp", "ltsp"], {"default": "ddim"}), - "clip_guidance_scale": ("INT", { "default": 5000, "min": 1, "max": 10000000 }), - "tv_scale": ("INT", { "default": 0, "min": 0, "max": 100000 }), - "range_scale": ("INT", { "default": 150, "min": 0, "max": 100000 }), - "sat_scale": ("INT", { "default": 0, "min": 0, "max": 100000 }), + "clip_guidance_scale": ("FLOAT", { "default": 5000, "min": 1, "max": 10000000 }), + "tv_scale": ("FLOAT", { "default": 0, "min": 0, "max": 100000 }), + "range_scale": ("FLOAT", { "default": 150, "min": 0, "max": 100000 }), + "sat_scale": ("FLOAT", { "default": 0, "min": 0, "max": 100000 }), }, "optional": { "extra_settings": ("DISCO_DIFFUSION_EXTRA_SETTINGS",),