mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-15 06:30:03 +08:00
Make strength optional to avoid validation errors when loading old workflows, adjust step
This commit is contained in:
parent
78e527dc90
commit
eff33dd492
@ -8,10 +8,13 @@ class DifferentialDiffusion():
|
|||||||
return {
|
return {
|
||||||
"required": {
|
"required": {
|
||||||
"model": ("MODEL", ),
|
"model": ("MODEL", ),
|
||||||
|
},
|
||||||
|
"optional": {
|
||||||
"strength": ("FLOAT", {
|
"strength": ("FLOAT", {
|
||||||
"default": 1.0,
|
"default": 1.0,
|
||||||
"min": 0.0,
|
"min": 0.0,
|
||||||
"max": 1.0
|
"max": 1.0,
|
||||||
|
"step": 0.01,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user