InvokeAI/invokeai
psychedelicious dc771d9645 feat(backend): allow/deny nodes
Allow denying and explicitly allowing nodes. When a not-allowed node is used, a pydantic `ValidationError` will be raised.

- When collecting all invocations, check against the allowlist and denylist first. When pydantic constructs any unions related to nodes, the denied nodes will be omitted
- Add `allow_nodes` and `deny_nodes` to `InvokeAIAppConfig`. These are `Union[list[str], None]`, and may be populated with the `type` of invocations.
- When `allow_nodes` is `None`, allow all nodes, else if it is `list[str]`, only allow nodes in the list
- When `deny_nodes` is `None`, deny no nodes, else if it is `list[str]`, deny nodes in the list
- `deny_nodes` overrides `allow_nodes`
2023-09-08 13:24:37 -04:00
..
app feat(backend): allow/deny nodes 2023-09-08 13:24:37 -04:00
assets tweaks in response to psychedelicious review of PR 2023-07-26 15:27:04 +10:00
backend Merge branch 'main' into bugfix/set-vram-on-macs 2023-09-05 07:09:39 -04:00
configs jigger model naming so that v1-5-inpaint is not the default on new installs 2023-08-31 10:56:25 -04:00
frontend new frontend build 2023-09-08 15:22:22 +10:00
version Update release version to 3.1.1rc1 2023-09-08 15:27:22 +10:00
__init__.py Various fixes 2023-01-30 18:42:17 -05:00
README CODEOWNERS coarse draft 2023-03-03 14:36:43 -05:00

Organization of the source tree:

app -- Home of nodes invocations and services
assets -- Images and other data files used by InvokeAI
backend -- Non-user facing libraries, including the rendering
	core.
configs -- Configuration files used at install and run times
frontend -- User-facing scripts, including the CLI and the WebUI
version -- Current InvokeAI version string, stored
	in version/invokeai_version.py