1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Add the prompt_id to some websocket messages.

This commit is contained in:
comfyanonymous
2023-05-11 01:22:40 -04:00
parent 974958ff81
commit dfc74c19d9
2 changed files with 5 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ def prompt_worker(q, server):
e = execution.PromptExecutor(server)
while True:
item, item_id = q.get()
e.execute(item[-3], item[-2], item[-1])
e.execute(item[2], item[1], item[3], item[4])
q.task_done(item_id, e.outputs)
async def run(server, address='', port=8188, verbose=True, call_on_start=None):