style: remove trailing whitespace
This commit is contained in:
parent
9eb0fca027
commit
12e2c317c8
1 changed files with 1 additions and 1 deletions
|
@ -18540,7 +18540,7 @@ int32_t llama_detokenize(
|
||||||
if (text[i - 1] == ' ') {
|
if (text[i - 1] == ' ') {
|
||||||
if (x == '?' || x == '!' || x == '.' || x == ',') { // " ?", " !", " .", " ,"
|
if (x == '?' || x == '!' || x == '.' || x == ',') { // " ?", " !", " .", " ,"
|
||||||
total--; // remove space
|
total--; // remove space
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
text[total++] = x;
|
text[total++] = x;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue