-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path__init__.py
More file actions
24 lines (20 loc) · 861 Bytes
/
__init__.py
File metadata and controls
24 lines (20 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from typing import List, Type
from typing_extensions import override
from comfy_api.latest import ComfyExtension, io
from .nodes import KandinskyLoader, KandinskyTextEncode, EmptyKandinskyLatent, KandinskyImageToVideoLatent, KandinskyPruneFrames, KandinskyVAELoader, KandinskyVAEDecode
from .kandinsky_sampler import KandinskySampler
class KandinskyV5Extension(ComfyExtension):
@override
async def get_node_list(self) -> List[Type[io.ComfyNode]]:
return [
KandinskyLoader,
KandinskyTextEncode,
EmptyKandinskyLatent,
KandinskyImageToVideoLatent,
KandinskySampler,
KandinskyVAELoader,
KandinskyVAEDecode,
KandinskyPruneFrames,
]
async def comfy_entrypoint() -> KandinskyV5Extension:
return KandinskyV5Extension()