The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Make --enable-manager-legacy-ui imply --enable-manager (#14421)
Jedrzej Kosinskibefc321438bd
diff --git a/README.md b/README.mdindex ee1024de5..786a14166 100644--- a/README.md+++ b/README.md@@ -364,7 +364,7 @@ For models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step| Flag | Description ||------|-------------|| `--enable-manager` | Enable ComfyUI-Manager |-| `--enable-manager-legacy-ui` | Use the legacy manager UI instead of the new UI (requires `--enable-manager`) |+| `--enable-manager-legacy-ui` | Use the legacy manager UI instead of the new UI (implies `--enable-manager`) || `--disable-manager-ui` | Disable the manager UI and endpoints while keeping background features like security checks and scheduled installation completion (requires `--enable-manager`) |diff --git a/comfy/cli_args.py b/comfy/cli_args.pyindex cba0dfa34..22f621cf5 100644--- a/comfy/cli_args.py+++ b/comfy/cli_args.py@@ -133,7 +133,7 @@ upcast.add_argument("--dont-upcast-attention", action="store_true", help="Disablparser.add_argument("--enable-manager", action="store_true", help="Enable the ComfyUI-Manager feature.")manager_group = parser.add_mutually_exclusive_group()manager_group.add_argument("--disable-manager-ui", action="store_true", help="Disables only the ComfyUI-Manager UI and endpoints. Scheduled installations and similar background tasks will still operate.")-manager_group.add_argument("--enable-manager-legacy-ui", action="store_true", help="Enables the legacy UI of ComfyUI-Manager")+manager_group.add_argument("--enable-manager-legacy-ui", action="store_true", help="Enables the legacy UI of ComfyUI-Manager. Implies --enable-manager.")vram_group = parser.add_mutually_exclusive_group()@@ -258,6 +258,10 @@ if args.disable_auto_launch:if args.force_fp16:args.fp16_unet = True+# '--enable-manager-legacy-ui' is meaningless unless the manager is enabled, so imply '--enable-manager'.+if args.enable_manager_legacy_ui:+ args.enable_manager = True+# '--fast' is not provided, use an empty setif args.fast is None: