MCPcopy Create free account
hub / github.com/Lightricks/ComfyUI-LTXVideo / define_schema

Method define_schema

conditioning_loader.py:16–31  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

14class LTXVLoadConditioning(io.ComfyNode):
15 @classmethod
16 def define_schema(cls) -> io.Schema:
17 files = folder_paths.get_filename_list("embeddings")
18 if not files:
19 files = [""]
20 return io.Schema(
21 node_id="LTXVLoadConditioning",
22 display_name="🅛🅣🅧 LTXV Load Conditioning",
23 category="lightricks/LTXV",
24 inputs=[
25 io.Combo.Input("file_name", options=sorted(files)),
26 io.Combo.Input("device", options=["cpu", "gpu"]),
27 ],
28 outputs=[
29 io.Conditioning.Output(),
30 ],
31 )
32
33 @classmethod
34 def execute(cls, file_name: str, device: str) -> io.NodeOutput:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected