Skip to content

Commit b902ef6

Browse files
authored
Update examples/llava/mtmd-cli.cpp
1 parent 9384cb4 commit b902ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llava/mtmd-cli.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,9 @@ int main(int argc, char ** argv) {
324324
std::string image = line.substr(7);
325325
if (ctx.load_image(image)) {
326326
LOG("Image %s loaded\n", image.c_str());
327+
content += "<__image__>";
327328
}
328329
// else, error is already printed by libmtmd
329-
content += "<__image__>";
330330
continue;
331331
} else {
332332
content += line;

0 commit comments

Comments
 (0)