From 675e67fe89eae276f5421b799a601b888f94d99c Mon Sep 17 00:00:00 2001 From: Behnam M <58621210+ibehnam@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:16:47 -0500 Subject: [PATCH] initialized server_state --- examples/server/server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 82856d3f0..fe35d3255 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -2799,11 +2799,11 @@ int main(int argc, char **argv) {"system_info", llama_print_system_info()}, }); - server_state = LOADING_MODEL; + ServerState server_state = LOADING_MODEL; // load the model if (!llama.load_model(params)) { - server_state = ERRPR; + server_state = ERROR; return 1; }