Update gpt4all-chat/embllm.cpp

Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
Signed-off-by: AT <manyoso@users.noreply.github.com>
This commit is contained in:
AT 2023-11-14 11:53:40 -05:00
parent 4b413a60e4
commit abd4703c79

View File

@ -38,7 +38,7 @@ bool EmbeddingLLM::loadModel()
return false;
}
if (m_model->implementation().modelType()[0] != 'B') {
if (m_model->implementation().modelType() != "Bert") {
qWarning() << "WARNING: Model type is not sbert";
delete m_model;
m_model = nullptr;