File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 });
You can’t perform that action at this time.
0 commit comments