mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-09 19:27:40 +08:00
Move nodes_chroma_radiance
This commit is contained in:
parent
fd6e5c2c8d
commit
66cf9b41f2
@ -121,4 +121,5 @@ __all__ = [
|
|||||||
"InputImpl",
|
"InputImpl",
|
||||||
"Types",
|
"Types",
|
||||||
"ComfyExtension",
|
"ComfyExtension",
|
||||||
|
"io",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -4,9 +4,9 @@ from typing import Callable
|
|||||||
import torch
|
import torch
|
||||||
|
|
||||||
import comfy.model_management
|
import comfy.model_management
|
||||||
|
from comfy.nodes.common import MAX_RESOLUTION
|
||||||
from comfy_api.latest import ComfyExtension, io
|
from comfy_api.latest import ComfyExtension, io
|
||||||
|
|
||||||
import nodes
|
|
||||||
|
|
||||||
class EmptyChromaRadianceLatentImage(io.ComfyNode):
|
class EmptyChromaRadianceLatentImage(io.ComfyNode):
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -15,8 +15,8 @@ class EmptyChromaRadianceLatentImage(io.ComfyNode):
|
|||||||
node_id="EmptyChromaRadianceLatentImage",
|
node_id="EmptyChromaRadianceLatentImage",
|
||||||
category="latent/chroma_radiance",
|
category="latent/chroma_radiance",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Int.Input(id="width", default=1024, min=16, max=nodes.MAX_RESOLUTION, step=16),
|
io.Int.Input(id="width", default=1024, min=16, max=MAX_RESOLUTION, step=16),
|
||||||
io.Int.Input(id="height", default=1024, min=16, max=nodes.MAX_RESOLUTION, step=16),
|
io.Int.Input(id="height", default=1024, min=16, max=MAX_RESOLUTION, step=16),
|
||||||
io.Int.Input(id="batch_size", default=1, min=1, max=4096),
|
io.Int.Input(id="batch_size", default=1, min=1, max=4096),
|
||||||
],
|
],
|
||||||
outputs=[io.Latent().Output()],
|
outputs=[io.Latent().Output()],
|
||||||
Loading…
Reference in New Issue
Block a user