Skip to content

Commit b54a964

Browse files
JulesGMpatricebechard
authored andcommitted
Update outlines/generate/api.py
Co-authored-by: Patrice Bechard <[email protected]>
1 parent 8c5f1d8 commit b54a964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outlines/generate/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def __call__(
232232
# We reshape the output to (batch_size, sample_size)
233233
output: List[List[FormattedOutput]] = list()
234234
for i in range(0, batch_size * num_samples, num_samples):
235-
output.append(formatted[i : i + num_samples]
235+
output.append(formatted[i : i + num_samples])
236236

237237
# We remove leading dimensions for the output
238238
if batch_size == 1 and num_samples == 1:

0 commit comments

Comments
 (0)