Skip to content

Commit 1206d12

Browse files
Add enum type to sd_type_t
1 parent 9c51d87 commit 1206d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable-diffusion.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ SD_API void free_upscaler_ctx(upscaler_ctx_t* upscaler_ctx);
195195

196196
SD_API sd_image_t upscale(upscaler_ctx_t* upscaler_ctx, sd_image_t input_image, uint32_t upscale_factor);
197197

198-
SD_API bool convert(const char* input_path, const char* vae_path, const char* output_path, sd_type_t output_type);
198+
SD_API bool convert(const char* input_path, const char* vae_path, const char* output_path, enum sd_type_t output_type);
199199

200200
SD_API uint8_t* preprocess_canny(uint8_t* img,
201201
int width,

0 commit comments

Comments
 (0)