Files
bentoml-comfy-pack/__init__.py
T
Frost Ming c7b48c033b Feat/build (#3)
* feat: build bento

Signed-off-by: Frost Ming <me@frostming.com>

* fix bugs

Signed-off-by: Frost Ming <me@frostming.com>

* fix: refactor main.js

Signed-off-by: Frost Ming <me@frostming.com>

* feat: build bento button

Signed-off-by: Frost Ming <me@frostming.com>
2024-11-21 11:12:15 +08:00

18 lines
469 B
Python

import os
import subprocess
import sys
from .nodes import api # noqa
from .nodes.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
print("Comfy-Pack => Installing Python dependencies")
subprocess.check_call(
[sys.executable, "-m", "pip", "install", "-r", "requirements.txt"],
stdout=subprocess.DEVNULL,
cwd=os.path.dirname(__file__),
)