Remove trailing ws
This commit is contained in:
parent
42fb6707e8
commit
0c5baa1cd1
2 changed files with 2 additions and 2 deletions
|
@ -501,7 +501,7 @@ Notice that each `probs` is an array of length `n_probs`.
|
|||
*Options:*
|
||||
|
||||
`content`: (Required) The text to tokenize.
|
||||
|
||||
|
||||
`add_special`: (Optional) Boolean indicating if special tokens, i.e. `BOS`, should be inserted. Default: `false`
|
||||
|
||||
`with_pieces`: (Optional) Boolean indicating whether to return token pieces along with IDs. Default: `false`
|
||||
|
|
|
@ -3220,7 +3220,7 @@ int main(int argc, char ** argv) {
|
|||
tokens_response = tokens;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const json data = format_tokenizer_response(tokens_response);
|
||||
return res.set_content(data.dump(), MIMETYPE_JSON);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue