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
36ea8784
Commit
36ea8784
authored
Sep 02, 2023
by
comfyanonymous
Browse files
Only return tuple of 3 args in CheckpointLoaderSimple.
parent
7891d133
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
nodes.py
nodes.py
+1
-1
web/scripts/ui.js
web/scripts/ui.js
+0
-1
No files found.
nodes.py
View file @
36ea8784
...
...
@@ -449,7 +449,7 @@ class CheckpointLoaderSimple:
def
load_checkpoint
(
self
,
ckpt_name
,
output_vae
=
True
,
output_clip
=
True
):
ckpt_path
=
folder_paths
.
get_full_path
(
"checkpoints"
,
ckpt_name
)
out
=
comfy
.
sd
.
load_checkpoint_guess_config
(
ckpt_path
,
output_vae
=
True
,
output_clip
=
True
,
embedding_directory
=
folder_paths
.
get_folder_paths
(
"embeddings"
))
return
out
return
out
[:
3
]
class
DiffusersLoader
:
@
classmethod
...
...
web/scripts/ui.js
View file @
36ea8784
...
...
@@ -620,7 +620,6 @@ export class ComfyUI {
$el
(
"
div
"
,[
$el
(
"
label
"
,
{
innerHTML
:
"
Batch count
"
}),
$el
(
"
input
"
,
{
id
:
"
batchCountInputNumber
"
,
type
:
"
number
"
,
...
...
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