Skip to content

Commit 9384cb4

Browse files
ngxsonCISC
andauthored
Update examples/llava/mtmd-cli.cpp
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent 48353bf commit 9384cb4

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
@@ -316,7 +316,7 @@ int main(int argc, char ** argv) {
316316
continue;
317317
}
318318
g_is_generating = true;
319-
if (line.find("/image") == 0) {
319+
if (line == "/image" || line.find("/image ") == 0) {
320320
if (line.size() < 8) {
321321
LOG_ERR("ERR: Missing image filename\n");
322322
continue;

0 commit comments

Comments
 (0)