mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-13 00:10:14 +00:00
8 lines
264 B
C
8 lines
264 B
C
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
int load_model(char *model, char* options[], int threads, int diffusionModel);
|
||
|
int gen_image(char *text, char *negativeText, int width, int height, int steps, int seed, char *dst, float cfg_scale);
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|