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
2381d36e
Commit
2381d36e
authored
Sep 25, 2023
by
comfyanonymous
Browse files
1024 wasn't enough.
parent
42f6d1eb
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 @
2381d36e
...
...
@@ -891,7 +891,7 @@ class EmptyLatentImage:
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"width"
:
(
"INT"
,
{
"default"
:
512
,
"min"
:
16
,
"max"
:
MAX_RESOLUTION
,
"step"
:
8
}),
"height"
:
(
"INT"
,
{
"default"
:
512
,
"min"
:
16
,
"max"
:
MAX_RESOLUTION
,
"step"
:
8
}),
"batch_size"
:
(
"INT"
,
{
"default"
:
1
,
"min"
:
1
,
"max"
:
1024
})}}
"batch_size"
:
(
"INT"
,
{
"default"
:
1
,
"min"
:
1
,
"max"
:
4096
})}}
RETURN_TYPES
=
(
"LATENT"
,)
FUNCTION
=
"generate"
...
...
@@ -1503,7 +1503,7 @@ class EmptyImage:
def
INPUT_TYPES
(
s
):
return
{
"required"
:
{
"width"
:
(
"INT"
,
{
"default"
:
512
,
"min"
:
1
,
"max"
:
MAX_RESOLUTION
,
"step"
:
1
}),
"height"
:
(
"INT"
,
{
"default"
:
512
,
"min"
:
1
,
"max"
:
MAX_RESOLUTION
,
"step"
:
1
}),
"batch_size"
:
(
"INT"
,
{
"default"
:
1
,
"min"
:
1
,
"max"
:
1024
}),
"batch_size"
:
(
"INT"
,
{
"default"
:
1
,
"min"
:
1
,
"max"
:
4096
}),
"color"
:
(
"INT"
,
{
"default"
:
0
,
"min"
:
0
,
"max"
:
0xFFFFFF
,
"step"
:
1
,
"display"
:
"color"
}),
}}
RETURN_TYPES
=
(
"IMAGE"
,)
...
...
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