mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
8604943e89
Custom nodes may be places in `$INVOKEAI_ROOT/nodes/` (configurable with `custom_nodes_dir` option). On app startup, an `__init__.py` is copied into the custom nodes dir, which recursively loads all python files in the directory as modules (files starting with `_` are ignored). The custom nodes dir is now a python module itself. When we `from invocations import *` to load init all invocations, we load the custom nodes dir, registering all custom nodes. |
||
---|---|---|
.. | ||
__init__.py | ||
_custom_nodes_init.py | ||
baseinvocation.py | ||
collections.py | ||
compel.py | ||
controlnet_image_processors.py | ||
cv.py | ||
facetools.py | ||
image.py | ||
infill.py | ||
ip_adapter.py | ||
latent.py | ||
math.py | ||
metadata.py | ||
model.py | ||
noise.py | ||
onnx.py | ||
param_easing.py | ||
primitives.py | ||
prompt.py | ||
sdxl.py | ||
strings.py | ||
t2i_adapter.py | ||
upscale.py |