Skip to content

Commit 2b5358c

Browse files
Fixing issue with args
1 parent fadb6fe commit 2b5358c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/cli/main.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ int main(int argc, const char* argv[]) {
474474
params.sample_method,
475475
params.sample_steps,
476476
params.seed,
477-
params.batch_count);
477+
params.batch_count,
478+
nullptr);
478479
} else {
479480
results = sd.img2img(input_image_buffer,
480481
params.prompt,
@@ -485,7 +486,8 @@ int main(int argc, const char* argv[]) {
485486
params.sample_method,
486487
params.sample_steps,
487488
params.strength,
488-
params.seed);
489+
params.seed,
490+
nullptr);
489491
}
490492

491493
if (results.size() == 0 || results.size() != params.batch_count) {

0 commit comments

Comments
 (0)