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
8c9c94b5
Commit
8c9c94b5
authored
Jun 17, 2023
by
comfyanonymous
Browse files
Add bicubic upscale method.
parent
e6e50ab2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
nodes.py
nodes.py
+4
-4
No files found.
nodes.py
View file @
8c9c94b5
...
...
@@ -756,7 +756,7 @@ class RepeatLatentBatch:
return
(
s
,)
class
LatentUpscale
:
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
,
"bislerp"
]
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
,
"bicubic"
,
"bislerp"
]
crop_methods
=
[
"disabled"
,
"center"
]
@
classmethod
...
...
@@ -776,7 +776,7 @@ class LatentUpscale:
return
(
s
,)
class
LatentUpscaleBy
:
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
,
"bislerp"
]
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
,
"bicubic"
,
"bislerp"
]
@
classmethod
def
INPUT_TYPES
(
s
):
...
...
@@ -1172,7 +1172,7 @@ class LoadImageMask:
return
True
class
ImageScale
:
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
]
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
,
"bicubic"
]
crop_methods
=
[
"disabled"
,
"center"
]
@
classmethod
...
...
@@ -1193,7 +1193,7 @@ class ImageScale:
return
(
s
,)
class
ImageScaleBy
:
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
]
upscale_methods
=
[
"nearest-exact"
,
"bilinear"
,
"area"
,
"bicubic"
]
@
classmethod
def
INPUT_TYPES
(
s
):
...
...
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