Add DA3ModelType to LoadDepthAnything3.

This commit is contained in:
Talmaj Marinc 2026-05-21 20:09:15 +02:00
parent 4dbd4a89af
commit 78d191fa7a

View File

@ -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