From d5bcaa515c7f02902d948e0d3bd9a67d02c172ca Mon Sep 17 00:00:00 2001 From: doctorpangloss <@hiddenswitch.com> Date: Thu, 8 Feb 2024 20:37:16 -0800 Subject: [PATCH] Specify worker,frontend as default roles --- comfy/cli_args.py | 1 + 1 file changed, 1 insertion(+) diff --git a/comfy/cli_args.py b/comfy/cli_args.py index 4fbc3c4b4..33585b5d3 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -125,6 +125,7 @@ parser.add_argument( '--distributed-queue-roles', action='append', choices=['worker', 'frontend'], + default=["worker", "frontend"], help='Specifies one or more roles for the distributed queue. Acceptable values are "worker" or "frontend", or both by writing the flag twice with each role. Prompters will start the web UI and connect to the provided AMQP URL to submit prompts; workers will pull requests off the AMQP URL.' ) parser.add_argument("--distributed-queue-name", type=str, default="comfyui",