From 7e1b9e0b704886c90a269cbcdfbdbeeb5647cfa9 Mon Sep 17 00:00:00 2001 From: cpumaxx <163466046+cpumaxx@users.noreply.github.com> Date: Tue, 9 Apr 2024 21:01:50 -0700 Subject: [PATCH] Update common.h change params image datatype to vector --- common/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/common.h b/common/common.h index 99ee90bc3..a962df3d6 100644 --- a/common/common.h +++ b/common/common.h @@ -161,8 +161,8 @@ struct gpt_params { std::string cache_type_v = "f16"; // KV cache data type for the V // multimodal models (see examples/llava) - std::string mmproj = ""; // path to multimodal projector - std::string image = ""; // path to an image file + std::string mmproj = ""; // path to multimodal projector + std::vector image; // path to image file(s) }; bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params);