Skip to content

Commit 7be4739

Browse files
committed
Fix compile
1 parent 7da49ed commit 7be4739

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stable-diffusion.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,7 @@ sd_image_t* txt2img(sd_ctx_t* sd_ctx,
17391739
slg_scale,
17401740
skip_layer_start,
17411741
skip_layer_end,
1742+
NULL,
17421743
preview_mode,
17431744
preview_interval,
17441745
step_callback);
@@ -2029,7 +2030,7 @@ SD_API sd_image_t* img2vid(sd_ctx_t* sd_ctx,
20292030
-1,
20302031
SDCondition(NULL, NULL, NULL),
20312032
{},
2032-
0, 0, 0,
2033+
0, 0, 0, NULL,
20332034
(sd_preview_policy_t)0, 1,
20342035
NULL);
20352036

0 commit comments

Comments
 (0)