Files
siliconflow-BizyAir/__init__.py
T
ae66bc4791 Refactoring and supporting SSE server (#59)
* Refactoring and supporting SSE server

* refine

* refine

* refine config

* refine

* refine error print

* add kolors demo

* refine

* refine set API_KEY

* refine examples json

* refine routing

* fix merge

* refine

* annotate unverified ipa nodes

* Add docs for bizyair ksampler (#65)

* refine

* add docs

* update kolors docs

* add news

* refine

* refine

* refine kolors inpaintig workflow

* refine

* reformat

* refine

* Update download URL in README.md (#66)

* refine

* remove useless model

* refine interior design

* refine

* refine

---------

Co-authored-by: Yao Chi <later@usopp.net>
Co-authored-by: Shenghang Tsai <jackalcooper@gmail.com>
2024-08-01 19:04:25 +08:00

55 lines
1.5 KiB
Python

import os
import sys
current_path = os.path.abspath(os.path.dirname(__file__))
src_path = os.path.join(current_path, "src")
if os.path.isdir(src_path):
sys.path.insert(0, src_path)
from bizyair import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
from . import nodes
from . import bizyair_extras
from . import showcase
WEB_DIRECTORY = "./js"
from . import auth
NODE_CLASS_MAPPINGS.update(**auth.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(**auth.NODE_DISPLAY_NAME_MAPPINGS)
from . import supernode
NODE_CLASS_MAPPINGS.update(**supernode.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(**supernode.NODE_DISPLAY_NAME_MAPPINGS)
from . import llm
NODE_CLASS_MAPPINGS.update(**llm.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(**llm.NODE_DISPLAY_NAME_MAPPINGS)
from . import nodes_controlnet_aux
NODE_CLASS_MAPPINGS.update(**nodes_controlnet_aux.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(**nodes_controlnet_aux.NODE_DISPLAY_NAME_MAPPINGS)
from . import kolors
NODE_CLASS_MAPPINGS.update(**kolors.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(**kolors.NODE_DISPLAY_NAME_MAPPINGS)
from . import nodes_controlnet_union_sdxl
NODE_CLASS_MAPPINGS.update(**nodes_controlnet_union_sdxl.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(
**nodes_controlnet_union_sdxl.NODE_DISPLAY_NAME_MAPPINGS
)
from . import mzkolors
NODE_CLASS_MAPPINGS.update(**mzkolors.NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(**mzkolors.NODE_DISPLAY_NAME_MAPPINGS)