initialized server_state
This commit is contained in:
parent
03d7ff0777
commit
675e67fe89
1 changed files with 2 additions and 2 deletions
|
@ -2799,11 +2799,11 @@ int main(int argc, char **argv)
|
||||||
{"system_info", llama_print_system_info()},
|
{"system_info", llama_print_system_info()},
|
||||||
});
|
});
|
||||||
|
|
||||||
server_state = LOADING_MODEL;
|
ServerState server_state = LOADING_MODEL;
|
||||||
// load the model
|
// load the model
|
||||||
if (!llama.load_model(params))
|
if (!llama.load_model(params))
|
||||||
{
|
{
|
||||||
server_state = ERRPR;
|
server_state = ERROR;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue