Skip to content

Commit 67ee4d9

Browse files
committed
deprication fix?
1 parent 0ce5d32 commit 67ee4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple-tts/simple-tts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ static std::vector<llama_token> prepare_guide_tokens(const llama_vocab * vocab,
277277
size_t end = str.find(delimiter);
278278

279279
//first token is always a newline, as it was not previously added
280-
result.push_back(llama_token_nl(vocab));
280+
result.push_back(llama_vocab_nl(vocab));
281281

282282
while (end != std::string::npos) {
283283
std::string current_word = str.substr(start, end - start);

0 commit comments

Comments
 (0)