Editorconfig suggested fixes

delete whitespace
This commit is contained in:
Henri Vasserman 2023-05-28 19:19:34 +03:00 committed by GitHub
parent 15ddc4903b
commit 74c6f36bf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
} }