1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00
This commit is contained in:
comfyanonymous
2023-04-02 01:55:05 -04:00
3 changed files with 10 additions and 6 deletions

View File

@@ -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