attempt to fix build on Windows
This commit is contained in:
parent
01f06e26c3
commit
ad97e0eda8
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef LLA_UTILS_H
|
||||||
|
#define LLAVA_UTILS_H
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// this one and clip lib will be eventually merged to a single lib, let's keep it this way for now
|
// 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));
|
auto post = prompt.substr(end + strlen(IMG_BASE64_TAG_END));
|
||||||
return pre + replacement + post;
|
return pre + replacement + post;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue