(cls)
| 14 | class 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: |
nothing calls this directly
no outgoing calls
no test coverage detected