Browse Source

Put image upscaling nodes in image/upscaling category.

pull/120/head
comfyanonymous 2 years ago
parent
commit
c8f1acc4eb
  1. 2
      comfy_extras/nodes_upscale_model.py
  2. 2
      nodes.py

2
comfy_extras/nodes_upscale_model.py

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

2
nodes.py

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

Loading…
Cancel
Save