As a temporary measure, the new UI will use the legacy/... backend structure.

The glob/... version will be applied later after the cacheless implementation is completed.
This commit is contained in:
Dr.Lt.Data 2025-07-30 01:13:17 +09:00
parent 5316ec1b4d
commit 121a5a1888

View File

@ -29,9 +29,15 @@ def start():
print("Error enabling legacy ComfyUI Manager frontend:", e) print("Error enabling legacy ComfyUI Manager frontend:", e)
core = None core = None
else: else:
from .glob import manager_server # noqa: F401 # NOTE: As a temporary measure, the new UI will use the legacy backend structure.
from .glob import share_3rdparty # noqa: F401 # The glob version will be applied later after the cacheless implementation is completed.
from .glob import manager_core as core from .legacy import manager_server # noqa: F401
from .legacy import share_3rdparty # noqa: F401
from .legacy import manager_core as core
# from .glob import manager_server # noqa: F401
# from .glob import share_3rdparty # noqa: F401
# from .glob import manager_core as core
if core is not None: if core is not None:
manager_security.is_personal_cloud_mode = core.get_config()['network_mode'].lower() == 'personal_cloud' manager_security.is_personal_cloud_mode = core.get_config()['network_mode'].lower() == 'personal_cloud'