We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da1e99 commit caa334aCopy full SHA for caa334a
paddlex/inference/pipelines/_parallel.py
@@ -44,7 +44,7 @@ def execute(
44
input_future_pairs = []
45
for pipeline in self._pipelines:
46
try:
47
- input_batch = list(input_batches)[0]
+ input_batch = next(input_batches)
48
except StopIteration:
49
out_of_data = True
50
break
0 commit comments