sd: sync to master-343-dd75fc0 (#1818)

This commit is contained in:
Wagner Bruna
2025-10-30 02:44:59 -03:00
committed by GitHub
parent 16cbe9f24e
commit 96a70033ba
21 changed files with 603 additions and 620 deletions
-3
View File
@@ -29,9 +29,6 @@
#include "ggml.h"
#include "stable-diffusion.h"
// #define STB_IMAGE_RESIZE_IMPLEMENTATION //already defined
#include "stb_image_resize.h"
bool ends_with(const std::string& str, const std::string& ending) {
if (str.length() >= ending.length()) {
return (str.compare(str.length() - ending.length(), ending.length(), ending) == 0);