attempt to fix build on Windows

This commit is contained in:
M. Yusuf Sarıgöz 2023-11-05 23:36:16 +03:00
parent 01f06e26c3
commit ad97e0eda8

View file

@ -1,3 +1,6 @@
#ifndef LLA_UTILS_H
#define LLAVA_UTILS_H
#pragma once
// this one and clip lib will be eventually merged to a single lib, let's keep it this way for now
@ -200,3 +203,5 @@ inline std::string remove_image_from_prompt(const std::string& prompt, const cha
auto post = prompt.substr(end + strlen(IMG_BASE64_TAG_END));
return pre + replacement + post;
}
#endif