Skip to content

Commit 7f8e782

Browse files
author
Stéphane du Hamel
committed
Fix compile
1 parent 632ab7d commit 7f8e782

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stable-diffusion.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1733,6 +1733,7 @@ sd_image_t* txt2img(sd_ctx_t* sd_ctx,
17331733
slg_scale,
17341734
skip_layer_start,
17351735
skip_layer_end,
1736+
NULL,
17361737
preview_mode,
17371738
preview_interval,
17381739
step_callback);
@@ -2023,7 +2024,7 @@ SD_API sd_image_t* img2vid(sd_ctx_t* sd_ctx,
20232024
-1,
20242025
SDCondition(NULL, NULL, NULL),
20252026
{},
2026-
0, 0, 0,
2027+
0, 0, 0, NULL,
20272028
(sd_preview_policy_t)0, 1,
20282029
NULL);
20292030

0 commit comments

Comments
 (0)