remove print
This commit is contained in:
@@ -1086,7 +1086,7 @@ class WanVideoSLG:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"blocks": ("STRING", {"default": "10", "tooltip": "Blocks to skip uncond on, separated by comma."}),
|
||||
"blocks": ("STRING", {"default": "10", "tooltip": "Blocks to skip uncond on, separated by comma, index starts from 0"}),
|
||||
"start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.01, "tooltip": "Start percent of the control signal"}),
|
||||
"end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01, "tooltip": "End percent of the control signal"}),
|
||||
},
|
||||
|
||||
@@ -779,7 +779,6 @@ class WanModel(ModelMixin, ConfigMixin):
|
||||
if self.slg_blocks is not None:
|
||||
if b in self.slg_blocks and is_uncond:
|
||||
if self.slg_start_percent <= current_step_percentage <= self.slg_end_percent:
|
||||
log.info(f"SLG: Skipping block {b}")
|
||||
continue
|
||||
if b <= self.blocks_to_swap and self.blocks_to_swap >= 0:
|
||||
block.to(self.main_device)
|
||||
|
||||
Reference in New Issue
Block a user