8000 Update examples/tts/tts.cpp · pqnet/llama.cpp@de788e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit de788e0

Browse files
ngxsonggerganov
andauthored
Update examples/tts/tts.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
1 parent 624a683 commit de788e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/tts/tts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ lovely<|t_0.56|><|code_start|><|634|><|596|><|1766|><|1556|><|1306|><|1285|><|14
920920
i_batch[i] = llama_batch_ext_get_n_tokens(batch);
921921

922922
// push this new token for next evaluation
923-
llama_batch_ext_add_text(batch, new_token_id, n_past, &i, 1, false);
923+
llama_batch_ext_add_text(batch, new_token_id, n_past, &i, 1, true);
924924
}
925925

926926
// all streams are finished

0 commit comments

Comments
 (0)
0