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
27d5808f
"test/vscode:/vscode.git/clone" did not exist on "3b90b9d9b74d2fdc38a4f95674cba7604fd4b522"
Commit
27d5808f
authored
Apr 23, 2024
by
comfyanonymous
Browse files
Increase max lora strength to 100.0
parent
b8218522
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nodes.py
nodes.py
+3
-3
No files found.
nodes.py
View file @
27d5808f
...
...
@@ -583,8 +583,8 @@ class LoraLoader:
return
{
"required"
:
{
"model"
:
(
"MODEL"
,),
"clip"
:
(
"CLIP"
,
),
"lora_name"
:
(
folder_paths
.
get_filename_list
(
"loras"
),
),
"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
}),
"strength_model"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
10
0.0
,
"max"
:
10
0.0
,
"step"
:
0.01
}),
"strength_clip"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
10
0.0
,
"max"
:
10
0.0
,
"step"
:
0.01
}),
}}
RETURN_TYPES
=
(
"MODEL"
,
"CLIP"
)
FUNCTION
=
"load_lora"
...
...
@@ -617,7 +617,7 @@ class LoraLoaderModelOnly(LoraLoader):
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"model"
:
(
"MODEL"
,),
"lora_name"
:
(
folder_paths
.
get_filename_list
(
"loras"
),
),
"strength_model"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
2
0.0
,
"max"
:
2
0.0
,
"step"
:
0.01
}),
"strength_model"
:
(
"FLOAT"
,
{
"default"
:
1.0
,
"min"
:
-
10
0.0
,
"max"
:
10
0.0
,
"step"
:
0.01
}),
}}
RETURN_TYPES
=
(
"MODEL"
,)
FUNCTION
=
"load_lora_model_only"
...
...
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