We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa61ea7 commit 4ccce02Copy full SHA for 4ccce02
examples/cli/main.cpp
@@ -603,7 +603,7 @@ int main(int argc, const char* argv[]) {
603
}
604
605
if (gen_params.mask_image_path.size() > 0) {
606
- if (load_sd_image_from_file(&mask_image,
+ if (!load_sd_image_from_file(&mask_image,
607
gen_params.mask_image_path.c_str(),
608
gen_params.get_resolved_width(),
609
gen_params.get_resolved_height(),
@@ -625,7 +625,7 @@ int main(int argc, const char* argv[]) {
625
626
627
if (gen_params.control_image_path.size() > 0) {
628
- if (load_sd_image_from_file(&control_image,
+ if (!load_sd_image_from_file(&control_image,
629
gen_params.control_image_path.c_str(),
630
631
gen_params.get_resolved_height())) {
0 commit comments