Editorconfig suggested fixes
delete whitespace
This commit is contained in:
parent
15ddc4903b
commit
74c6f36bf1
1 changed files with 0 additions and 3 deletions
|
@ -29,7 +29,6 @@ struct llama_server_context
|
||||||
std::vector<llama_token> embd_inp;
|
std::vector<llama_token> embd_inp;
|
||||||
|
|
||||||
std::vector<llama_token> last_prompt_tokens;
|
std::vector<llama_token> last_prompt_tokens;
|
||||||
|
|
||||||
llama_context *ctx;
|
llama_context *ctx;
|
||||||
gpt_params params;
|
gpt_params params;
|
||||||
|
|
||||||
|
@ -249,7 +248,6 @@ struct llama_server_context
|
||||||
if (token == -1) {
|
if (token == -1) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(as_loop) {
|
if(as_loop) {
|
||||||
generated_text = "";
|
generated_text = "";
|
||||||
}
|
}
|
||||||
|
@ -817,5 +815,4 @@ int main(int argc, char **argv)
|
||||||
svr.set_read_timeout(sparams.read_timeout);
|
svr.set_read_timeout(sparams.read_timeout);
|
||||||
svr.set_write_timeout(sparams.write_timeout);
|
svr.set_write_timeout(sparams.write_timeout);
|
||||||
svr.listen(sparams.hostname, sparams.port);
|
svr.listen(sparams.hostname, sparams.port);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue