Skip to content

Commit ba589f6

Browse files
committed
refactor: sd api
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent 12f48fd commit ba589f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable-diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ int sd_sampling_stream_steps(sd_sampling_stream_t* stream) {
21152115
if (stream == nullptr) {
21162116
return 0;
21172117
}
2118-
return stream->sample_steps + 1;
2118+
return stream->sample_steps;
21192119
}
21202120

21212121
void sd_sampling_stream_free(sd_sampling_stream_t* stream) {

0 commit comments

Comments
 (0)