mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 23:14:49 +08:00
Merge branch 'custom_routes' of https://github.com/pythongosssss/ComfyUI
This commit is contained in:
4
main.py
4
main.py
@@ -45,6 +45,7 @@ if __name__ == "__main__":
|
||||
except:
|
||||
pass
|
||||
|
||||
from nodes import init_custom_nodes
|
||||
import execution
|
||||
import server
|
||||
import folder_paths
|
||||
@@ -103,6 +104,8 @@ if __name__ == "__main__":
|
||||
server = server.PromptServer(loop)
|
||||
q = execution.PromptQueue(server)
|
||||
|
||||
init_custom_nodes()
|
||||
server.add_routes()
|
||||
hijack_progress(server)
|
||||
|
||||
threading.Thread(target=prompt_worker, daemon=True, args=(q,server,)).start()
|
||||
@@ -118,7 +121,6 @@ if __name__ == "__main__":
|
||||
except:
|
||||
address = '127.0.0.1'
|
||||
|
||||
|
||||
dont_print = False
|
||||
if '--dont-print-server' in sys.argv:
|
||||
dont_print = True
|
||||
|
Reference in New Issue
Block a user