mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-25 00:17:23 +08:00
Add DA3ModelType to LoadDepthAnything3.
This commit is contained in:
parent
4dbd4a89af
commit
78d191fa7a
@ -36,6 +36,7 @@ import folder_paths
|
|||||||
from comfy.ldm.depth_anything_3 import preprocess as da3_preprocess
|
from comfy.ldm.depth_anything_3 import preprocess as da3_preprocess
|
||||||
from comfy_api.latest import ComfyExtension, io
|
from comfy_api.latest import ComfyExtension, io
|
||||||
|
|
||||||
|
DA3ModelType = io.Custom("DA3_MODEL")
|
||||||
|
|
||||||
class LoadDepthAnything3(io.ComfyNode):
|
class LoadDepthAnything3(io.ComfyNode):
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -55,7 +56,7 @@ class LoadDepthAnything3(io.ComfyNode):
|
|||||||
default="default",
|
default="default",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
outputs=[io.Model.Output("model")],
|
outputs=[DA3ModelType.Output()],
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user