Put image upscaling nodes in image/upscaling category.

main
comfyanonymous 2 years ago
parent e33dc2b33b
commit c8f1acc4eb

@ -35,7 +35,7 @@ class ImageUpscaleWithModel:
RETURN_TYPES = ("IMAGE",) RETURN_TYPES = ("IMAGE",)
FUNCTION = "upscale" FUNCTION = "upscale"
CATEGORY = "image" CATEGORY = "image/upscaling"
def upscale(self, upscale_model, image): def upscale(self, upscale_model, image):
device = comfy.model_management.get_torch_device() device = comfy.model_management.get_torch_device()

@ -907,7 +907,7 @@ class ImageScale:
RETURN_TYPES = ("IMAGE",) RETURN_TYPES = ("IMAGE",)
FUNCTION = "upscale" FUNCTION = "upscale"
CATEGORY = "image" CATEGORY = "image/upscaling"
def upscale(self, image, upscale_method, width, height, crop): def upscale(self, image, upscale_method, width, height, crop):
samples = image.movedim(-1,1) samples = image.movedim(-1,1)

Loading…
Cancel
Save