Files
MoonHugo-ComfyUI-BiRefNet-Hugo/__init__.py
T
2024-09-03 21:09:01 +08:00

10 lines
286 B
Python

import os
import folder_paths
rembg_path = os.path.join(folder_paths.models_dir, 'rembg')
if not os.path.exists(rembg_path):
os.makedirs(rembg_path)
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']