diff --git a/examples/llava/llava-cli.cpp b/examples/llava/llava-cli.cpp index 0a1f9ada9035c..5dc0ea5672e28 100644 --- a/examples/llava/llava-cli.cpp +++ b/examples/llava/llava-cli.cpp @@ -112,7 +112,7 @@ struct llava_context { }; static void show_additional_info(int /*argc*/, char ** argv) { - fprintf(stderr, "\n example usage: %s -m --mmproj --image [--temp 0.1] [-p \"describe the image in detail.\"]\n", argv[0]); + fprintf(stderr, "\n example usage: %s -m --mmproj --image --image [--temp 0.1] [-p \"describe the image in detail.\"]\n", argv[0]); fprintf(stderr, " note: a lower temperature value like 0.1 is recommended for better quality.\n"); } @@ -281,7 +281,7 @@ int main(int argc, char ** argv) { return 1; } - for (auto & image : image) { + for (auto & image : params.image) { auto ctx_llava = llava_init_context(¶ms, model);