Update examples/llava/llava-cli.cpp
also need to update function body and call Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
8c0a5b0e1e
commit
e441cc8992
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue