mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-29 15:50:22 +08:00
Fix import paths in comfy.cmd.main
This commit is contained in:
parent
d06c38d5b4
commit
9ad840e614
@ -134,7 +134,7 @@ async def main():
|
|||||||
if args.windows_standalone_build:
|
if args.windows_standalone_build:
|
||||||
folder_paths.create_directories()
|
folder_paths.create_directories()
|
||||||
try:
|
try:
|
||||||
import new_updater
|
from . import new_updater
|
||||||
new_updater.update_windows_updater()
|
new_updater.update_windows_updater()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
@ -161,7 +161,7 @@ async def main():
|
|||||||
await q.init()
|
await q.init()
|
||||||
else:
|
else:
|
||||||
distributed = False
|
distributed = False
|
||||||
from execution import PromptQueue
|
from .execution import PromptQueue
|
||||||
q = PromptQueue(server)
|
q = PromptQueue(server)
|
||||||
server.prompt_queue = q
|
server.prompt_queue = q
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user