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
ac9c038a
Commit
ac9c038a
authored
Jul 16, 2023
by
comfyanonymous
Browse files
Merge branch 'master' of
https://github.com/ComfyUI-Community/ComfyUI
parents
5f573626
a8f3bbc3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
nodes.py
nodes.py
+3
-1
No files found.
nodes.py
View file @
ac9c038a
...
@@ -497,7 +497,9 @@ class LoraLoader:
...
@@ -497,7 +497,9 @@ class LoraLoader:
if
self
.
loaded_lora
[
0
]
==
lora_path
:
if
self
.
loaded_lora
[
0
]
==
lora_path
:
lora
=
self
.
loaded_lora
[
1
]
lora
=
self
.
loaded_lora
[
1
]
else
:
else
:
del
self
.
loaded_lora
temp
=
self
.
loaded_lora
self
.
loaded_lora
=
None
del
temp
if
lora
is
None
:
if
lora
is
None
:
lora
=
comfy
.
utils
.
load_torch_file
(
lora_path
,
safe_load
=
True
)
lora
=
comfy
.
utils
.
load_torch_file
(
lora_path
,
safe_load
=
True
)
...
...
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