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
21eb33f2
Commit
21eb33f2
authored
Jan 27, 2023
by
comfyanonymous
Browse files
Right category for latent upscale node.
parent
e4528ef9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
nodes.py
nodes.py
+2
-0
No files found.
nodes.py
View file @
21eb33f2
...
...
@@ -175,6 +175,8 @@ class LatentUpscale:
RETURN_TYPES
=
(
"LATENT"
,)
FUNCTION
=
"upscale"
CATEGORY
=
"latent"
def
upscale
(
self
,
samples
,
upscale_method
,
width
,
height
,
crop
):
if
crop
==
"center"
:
old_width
=
samples
.
shape
[
3
]
...
...
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