Comfy-Org / Comfy-Org/ComfyUI

Clean up the API for ComfyUI initialization through code (currently happens automatically through importation)

Open
#2,102 1 comment 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

Hi, I use ComfyUI directly in my codebase for AI animation and currently the whole ComfyUI initialization process is a little hard to schedule, as it is tied to code running at top level directly when importing some of the stuff. I'm not deep into Python but I think in general that kind of architecture is a little dubious, would be better off stuffing things into a function we can invoke right when we mean to initialize the core.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.