Skip to content

Commit

Permalink
Fix macos compile
Browse files Browse the repository at this point in the history
  • Loading branch information
stduhpf committed Feb 28, 2025
1 parent dc32392 commit 01af536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stable-diffusion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1265,8 +1265,8 @@ class StableDiffusionGGML {
ggml_tensor_scale_output(output);
}
sd_image_t image = {
output->ne[0],
output->ne[1],
(uint32_t)output->ne[0],
(uint32_t)output->ne[1],
3,
sd_tensor_to_image(output)};
preview_cb(-1, image);
Expand Down

0 comments on commit 01af536

Please sign in to comment.