Update server.cpp

This commit is contained in:
Robert Sinclair 2024-06-03 19:55:52 +03:00 committed by GitHub
parent 4d78cff3ed
commit 8dc6f1647e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3034,7 +3034,7 @@ int main(int argc, char ** argv) {
LOG_ERROR("unable to load model", {{"error", "Load model failed"}});
state.store(SERVER_STATE_ERROR);
return 1;
}
}
// Initialize the server context if the model is loaded successfully
ctx_server.init();
state.store(SERVER_STATE_READY);