From e441cc89923e6887e24629b0b081cf9fc664a8a5 Mon Sep 17 00:00:00 2001 From: cpumaxx <163466046+cpumaxx@users.noreply.github.com> Date: Sun, 28 Apr 2024 15:29:45 -0700 Subject: [PATCH] Update examples/llava/llava-cli.cpp also need to update function body and call Co-authored-by: Georgi Gerganov --- examples/llava/llava-cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/llava/llava-cli.cpp b/examples/llava/llava-cli.cpp index bf52c9473..2b6acffea 100644 --- a/examples/llava/llava-cli.cpp +++ b/examples/llava/llava-cli.cpp @@ -116,7 +116,7 @@ static void show_additional_info(int /*argc*/, char ** argv) { fprintf(stderr, " note: a lower temperature value like 0.1 is recommended for better quality.\n"); } -static struct llava_image_embed * load_image(llava_context * ctx_llava, gpt_params * params, std::string * image) { +static struct llava_image_embed * load_image(llava_context * ctx_llava, gpt_params * params, const std::string & fname) { // load and preprocess the image llava_image_embed * embed = NULL;