Skip to content

Commit d732284

Browse files
committed
fix
1 parent 4074bb3 commit d732284

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/server/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,11 +2472,11 @@ void start_server(SDParams params) {
24722472
if (!params.ctxParams.taesd_path.empty()) {
24732473
response["tae"] = sd_basename(params.ctxParams.taesd_path);
24742474
}
2475-
if (!params.ctxParams.controlnet_path.empty()) {
2476-
response["control_net"] = sd_basename(params.ctxParams.controlnet_path);
2475+
if (!params.ctxParams.control_net_path.empty()) {
2476+
response["control_net"] = sd_basename(params.ctxParams.control_net_path);
24772477
}
2478-
if (!params.ctxParams.photomaker_path.empty()) {
2479-
response["photo_maker"] = sd_basename(params.ctxParams.photomaker_path);
2478+
if (!params.ctxParams.photo_maker_path.empty()) {
2479+
response["photo_maker"] = sd_basename(params.ctxParams.photo_maker_path);
24802480
}
24812481
res.set_content(response.dump(), "application/json");
24822482
});

0 commit comments

Comments
 (0)