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

Only validate each input once.

This commit is contained in:
comfyanonymous
2023-05-10 00:29:31 -04:00
parent 02ca1c67f8
commit d6dee8af1d
3 changed files with 20 additions and 24 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[-2], item[-1])
e.execute(item[-3], item[-2], item[-1])
q.task_done(item_id, e.outputs)
async def run(server, address='', port=8188, verbose=True, call_on_start=None):