Skip to content

Commit

Permalink
Server: fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
stduhpf committed Nov 20, 2024
1 parent 951b3f8 commit 8f09956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/server/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -765,14 +765,14 @@ void parseJsonPrompt(std::string json_str, SDParams& params) {
float control_strength = payload["control_strength"];
// params.control_strength = control_strength;
// LOG_WARN("control_strength is not supported yet\n");
sd_log(sd_log_level_t::SD_LOG_WARN, "control_strength is not supported yet\n", params);
sd_log(sd_log_level_t::SD_LOG_WARN, "control_strength is not supported yet\n");
} catch (...) {
}
try {
float style_strength = payload["style_strength"];
// params.style_strength = style_strength;
// LOG_WARN("style_strength is not supported yet\n");
sd_log(sd_log_level_t::SD_LOG_WARN, "style_strength is not supported yet\n", params);
sd_log(sd_log_level_t::SD_LOG_WARN, "style_strength is not supported yet\n");
} catch (...) {
}
try {
Expand Down

0 comments on commit 8f09956

Please sign in to comment.