We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff1aa7 commit 9d3424aCopy full SHA for 9d3424a
examples/server/server.cpp
@@ -2591,7 +2591,7 @@ int main(int argc, char ** argv) {
2591
return false;
2592
};
2593
2594
- auto middleware_server_state = [&res_error, &state](const httplib::Request &, httplib::Response & res) {
+ auto middleware_server_state = [&state](const httplib::Request &, httplib::Response & res) {
2595
server_state current_state = state.load();
2596
if (current_state == SERVER_STATE_LOADING_MODEL) {
2597
res.set_content("<html><body>The model is loading. Please wait.<br/>The user interface will appear soon.</body></html>", "text/html; charset=utf-8");
0 commit comments