From 7073dc0d5d908c729e6dcdbafd5e92a0855b051c Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Mon, 24 Jul 2023 17:45:05 -0400 Subject: [PATCH] Fix next call in graphexecutionstate.next --- invokeai/app/services/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/services/graph.py b/invokeai/app/services/graph.py index 711101ad97..3e44415d3d 100644 --- a/invokeai/app/services/graph.py +++ b/invokeai/app/services/graph.py @@ -882,7 +882,7 @@ class GraphExecutionState(BaseModel): if self.batch_indices[index] > 0: self.executed.clear() self.batch_indices[index] -= 1 - return next(self) + return self.next(self) # If next is still none, there's no next node, return None return next_node