From de788e071bc397607413a3dc3f3018049c272ac5 Mon Sep 17 00:00:00 2001 From: Xuan-Son Nguyen Date: Mon, 17 Mar 2025 12:05:23 +0100 Subject: [PATCH] Update examples/tts/tts.cpp Co-authored-by: Georgi Gerganov --- examples/tts/tts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tts/tts.cpp b/examples/tts/tts.cpp index 32f8c43a8..9f510d004 100644 --- a/examples/tts/tts.cpp +++ b/examples/tts/tts.cpp @@ -920,7 +920,7 @@ lovely<|t_0.56|><|code_start|><|634|><|596|><|1766|><|1556|><|1306|><|1285|><|14 i_batch[i] = llama_batch_ext_get_n_tokens(batch); // push this new token for next evaluation - llama_batch_ext_add_text(batch, new_token_id, n_past, &i, 1, false); + llama_batch_ext_add_text(batch, new_token_id, n_past, &i, 1, true); } // all streams are finished