Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
0b78213b
Commit
0b78213b
authored
Mar 18, 2024
by
comfyanonymous
Browse files
Fix neg scale step.
parent
b1a16d45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy_extras/nodes_perpneg.py
comfy_extras/nodes_perpneg.py
+1
-1
No files found.
comfy_extras/nodes_perpneg.py
View file @
0b78213b
...
@@ -10,7 +10,7 @@ class PerpNeg:
...
@@ -10,7 +10,7 @@ class PerpNeg:
def
INPUT_TYPES
(
s
):
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"model"
:
(
"MODEL"
,
),
return
{
"required"
:
{
"model"
:
(
"MODEL"
,
),
"empty_conditioning"
:
(
"CONDITIONING"
,
),
"empty_conditioning"
:
(
"CONDITIONING"
,
),
"neg_scale"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
0.0
,
"max"
:
100.0
}),
"neg_scale"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
0.0
,
"max"
:
100.0
,
"step"
:
0.01
}),
}}
}}
RETURN_TYPES
=
(
"MODEL"
,)
RETURN_TYPES
=
(
"MODEL"
,)
FUNCTION
=
"patch"
FUNCTION
=
"patch"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment