Update skimmed_CFG.py
This commit is contained in:
+4
-4
@@ -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, )
|
||||
|
||||
Reference in New Issue
Block a user