From 8e61dead47e5c633568e575a24431a7bf5b28197 Mon Sep 17 00:00:00 2001 From: DarthAffe Date: Sun, 7 Dec 2025 10:55:29 +0100 Subject: [PATCH] Updated header-file --- Header/stable-diffusion.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Header/stable-diffusion.h b/Header/stable-diffusion.h index b5b6946..e34cdec 100644 --- a/Header/stable-diffusion.h +++ b/Header/stable-diffusion.h @@ -65,11 +65,10 @@ enum scheduler_t { }; enum prediction_t { - DEFAULT_PRED, EPS_PRED, V_PRED, EDM_V_PRED, - SD3_FLOW_PRED, + FLOW_PRED, FLUX_FLOW_PRED, FLUX2_FLOW_PRED, PREDICTION_COUNT @@ -288,7 +287,7 @@ typedef void (*sd_preview_cb_t)(int step, int frame_count, sd_image_t* frames, b SD_API void sd_set_log_callback(sd_log_cb_t sd_log_cb, void* data); SD_API void sd_set_progress_callback(sd_progress_cb_t cb, void* data); SD_API void sd_set_preview_callback(sd_preview_cb_t cb, enum preview_t mode, int interval, bool denoised, bool noisy, void* data); -SD_API int32_t get_num_physical_cores(); +SD_API int32_t sd_get_num_physical_cores(); SD_API const char* sd_get_system_info(); SD_API const char* sd_type_name(enum sd_type_t type); @@ -358,4 +357,4 @@ SD_API bool preprocess_canny(sd_image_t image, } #endif -#endif // __STABLE_DIFFUSION_H__ \ No newline at end of file +#endif // __STABLE_DIFFUSION_H__