From 0ca0198f1dffef9a36ff22145f621c6e200fcc1b Mon Sep 17 00:00:00 2001 From: ozanarmagan Date: Wed, 10 May 2023 18:17:16 +0300 Subject: [PATCH] Fixed ambiguity in logs --- src/text_embedder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text_embedder.cpp b/src/text_embedder.cpp index 775edf2a..0ee7cfef 100644 --- a/src/text_embedder.cpp +++ b/src/text_embedder.cpp @@ -10,7 +10,7 @@ TextEmbedder::TextEmbedder(const std::string& model_name) { // create environment Ort::SessionOptions session_options; std::string abs_path = TextEmbedderManager::get_absolute_model_path(model_name); - LOG(INFO) << "Loading model from: " << abs_path; + LOG(INFO) << "Loading model from disk: " << abs_path; session_ = std::make_unique(env_, abs_path.c_str(), session_options); std::ifstream config_file(TextEmbedderManager::get_absolute_config_path(model_name)); nlohmann::json config; @@ -156,7 +156,7 @@ TextEmbedder::~TextEmbedder() { bool TextEmbedder::is_model_valid(const std::string& model_name, unsigned int& num_dims) { - LOG(INFO) << "Loading model: " << model_name; + LOG(INFO) << "Validating model: " << model_name; if(TextEmbedderManager::get_instance().is_public_model(model_name)) { auto res = TextEmbedderManager::get_instance().download_public_model(model_name);