mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-14 15:33:31 +00:00
support pip comfyui-manager
This commit is contained in:
parent
3b19fc76e3
commit
6897a1d077
4
main.py
4
main.py
@ -10,6 +10,7 @@ from app.logger import setup_logger
|
||||
import itertools
|
||||
import utils.extra_config
|
||||
import logging
|
||||
import comfyui_manager
|
||||
|
||||
if __name__ == "__main__":
|
||||
#NOTE: These do not do anything on core ComfyUI which should already have no communication with the internet, they are for custom nodes.
|
||||
@ -69,6 +70,8 @@ def execute_prestartup_script():
|
||||
if args.disable_all_custom_nodes:
|
||||
return
|
||||
|
||||
comfyui_manager.prestartup()
|
||||
|
||||
node_paths = folder_paths.get_folder_paths("custom_nodes")
|
||||
for custom_node_path in node_paths:
|
||||
possible_modules = os.listdir(custom_node_path)
|
||||
@ -261,6 +264,7 @@ def start_comfyui(asyncio_loop=None):
|
||||
prompt_server = server.PromptServer(asyncio_loop)
|
||||
q = execution.PromptQueue(prompt_server)
|
||||
|
||||
comfyui_manager.start()
|
||||
nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)
|
||||
|
||||
cuda_malloc_warning()
|
||||
|
Loading…
Reference in New Issue
Block a user