Author SHA1 Message Date
Extraltodeus 967b181646 Update nodes.py 2025-05-24 09:36:22 +02:00
Extraltodeus 75644eb9c5 Merge pull request #5 from Extraltodeus/revert-4-update-publish-yaml
Revert "Update Github Action for Publishing to Comfy Registry"
2025-04-29 19:04:07 +02:00
+1 -1
View File
@@ -323,7 +323,7 @@ class automatic_pre_cfg:
def patch(self, model, scaling_method, min_max_method="difference", reference_CFG=8, scale_multiplier=0.8, top_k=0.25, channels_selection=None):
parameters_string = f"scaling_method: {scaling_method}\nmin_max_method: {min_max_method}"
if channels_selection is not None:
for x in range(channels_selection):
for x in range(len(channels_selection)):
parameters_string += f"\nchannel {x+1}: {channels_selection[x]}"
scaling_methods_names = [k for k in apply_scaling_methods]
@torch.no_grad()