Update skimmed_CFG.py

This commit is contained in:
Extraltodeus
2024-08-04 08:43:21 +02:00
committed by GitHub
parent 7d8d02ead1
commit d0ce05af24
+4 -4
View File
@@ -94,7 +94,7 @@ class SkimmedCFGLinInterpCFGPreCFGNode:
step_step = 2
return {"required": {
"model": ("MODEL",),
"Skimming_CFG": ("FLOAT", {"default": 5.0, "min": 0.0, "max": 10.0, "step": 1/step_step, "round": 1/100}),
"Skimming_CFG": ("FLOAT", {"default": 5.0, "min": 0.0, "max": 7.0, "step": 1/step_step, "round": 1/100}),
}
}
RETURN_TYPES = ("MODEL",)
@@ -133,8 +133,8 @@ class SkimmedCFGLinInterpDualScalesCFGPreCFGNode:
step_step = 2
return {"required": {
"model": ("MODEL",),
"Skimming_CFG_positive": ("FLOAT", {"default": 5.0, "min": 0.0, "max": 10.0, "step": 1/step_step, "round": 1/100}),
"Skimming_CFG_negative": ("FLOAT", {"default": 5.0, "min": 0.0, "max": 10.0, "step": 1/step_step, "round": 1/100}),
"Skimming_CFG_positive": ("FLOAT", {"default": 5.0, "min": 0.0, "max": 7.0, "step": 1/step_step, "round": 1/100}),
"Skimming_CFG_negative": ("FLOAT", {"default": 5.0, "min": 0.0, "max": 7.0, "step": 1/step_step, "round": 1/100}),
}
}
RETURN_TYPES = ("MODEL",)
@@ -166,4 +166,4 @@ class SkimmedCFGLinInterpDualScalesCFGPreCFGNode:
m = model.clone()
m.set_model_sampler_pre_cfg_function(pre_cfg_patch)
return (m, )
return (m, )