22 lines
493 B
Python
22 lines
493 B
Python
from comfy_api.latest import ComfyExtension, io
|
|
|
|
from .pecha_kucha import GeneratePowerpoint
|
|
from .split_prompt import SplitPrompt
|
|
|
|
|
|
class PechaKucha(ComfyExtension):
|
|
# must be declared as async
|
|
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
|
return [
|
|
GeneratePowerpoint,
|
|
SplitPrompt,
|
|
]
|
|
|
|
|
|
# can be declared async or not, both will work
|
|
async def comfy_entrypoint() -> PechaKucha:
|
|
return PechaKucha()
|
|
|
|
|
|
__all__ = ["WEB_DIRECTORY"]
|