Update examples/server/server.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
421e66b330
commit
add5f1bdc9
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ struct llama_server_context
|
|||
processed_tokens.erase(processed_tokens.begin() + 1, processed_tokens.end());
|
||||
}
|
||||
|
||||
if(embd_inp.size() != 0)
|
||||
if(!embd_inp.empty())
|
||||
{
|
||||
embd_inp.erase(embd_inp.begin() + 1, embd_inp.end());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue