mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-17 18:13:01 +08:00
fixed: Even if --enable-manager is applied, it should switch to a disabled state if comfyui_manager is not installed.
This commit is contained in:
parent
e7ff647d02
commit
036aa3efa8
1
main.py
1
main.py
@ -26,6 +26,7 @@ setup_logger(log_level=args.verbose, use_stdout=args.log_stdout)
|
|||||||
|
|
||||||
def handle_comfyui_manager_unavailable():
|
def handle_comfyui_manager_unavailable():
|
||||||
logging.warning(f"\n\nYou appear to be running comfyui-manager from source, this is not recommended. Please install comfyui-manager using the following command:\ncommand:\n\t{sys.executable} -m pip install --pre comfyui_manager\n")
|
logging.warning(f"\n\nYou appear to be running comfyui-manager from source, this is not recommended. Please install comfyui-manager using the following command:\ncommand:\n\t{sys.executable} -m pip install --pre comfyui_manager\n")
|
||||||
|
args.enable_manager = False
|
||||||
|
|
||||||
|
|
||||||
if args.enable_manager:
|
if args.enable_manager:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user