Update examples/tts/tts.cpp

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
Xuan-Son Nguyen
2025-03-17 12:05:23 +01:00
committed by GitHub
parent 624a683c6f
commit de788e071b

View File

@ -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