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
1122df1a
"tests/vscode:/vscode.git/clone" did not exist on "98d46a3f085cc7529c9ddf3b7c4918cc248e9162"
Commit
1122df1a
authored
Sep 20, 2023
by
comfyanonymous
Browse files
Increase range of lora strengths.
parent
1cdfb3db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nodes.py
nodes.py
+2
-2
No files found.
nodes.py
View file @
1122df1a
...
...
@@ -543,8 +543,8 @@ class LoraLoader:
return
{
"required"
:
{
"model"
:
(
"MODEL"
,),
"clip"
:
(
"CLIP"
,
),
"lora_name"
:
(
folder_paths
.
get_filename_list
(
"loras"
),
),
"strength_model"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
1
0.0
,
"max"
:
1
0.0
,
"step"
:
0.01
}),
"strength_clip"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
1
0.0
,
"max"
:
1
0.0
,
"step"
:
0.01
}),
"strength_model"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
2
0.0
,
"max"
:
2
0.0
,
"step"
:
0.01
}),
"strength_clip"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
2
0.0
,
"max"
:
2
0.0
,
"step"
:
0.01
}),
}}
RETURN_TYPES
=
(
"MODEL"
,
"CLIP"
)
FUNCTION
=
"load_lora"
...
...
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