Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Add bicubic upscale method.

comfyanonymous8c9c94b5f38b
diff --git a/nodes.py b/nodes.py
index 658e32dad..cbb7d69ea 100644
--- a/nodes.py
+++ b/nodes.py
@@ -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):