mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-06-27 23:50:20 -05:00
fix windows
This commit is contained in:
parent
61653c7989
commit
1b82e9ae51
@ -829,7 +829,7 @@ static void handle_media(
|
|||||||
bool accept_base64_uri) {
|
bool accept_base64_uri) {
|
||||||
if (!media_path.empty()) {
|
if (!media_path.empty()) {
|
||||||
// should already be enforced by arg.cpp, but checking just in case
|
// should already be enforced by arg.cpp, but checking just in case
|
||||||
GGML_ASSERT(string_ends_with(media_path, "/"));
|
GGML_ASSERT(media_path.back() == DIRECTORY_SEPARATOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string_starts_with(url, "http")) {
|
if (string_starts_with(url, "http")) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user