Amodit commited on
Commit
cfe2de2
·
1 Parent(s): 9f579ee

Fix app crash on startup

Browse files
Files changed (1) hide show
  1. agents/demystifier_agent.py +3 -0
agents/demystifier_agent.py CHANGED
@@ -11,6 +11,9 @@ from langchain_community.vectorstores import FAISS
11
  from langchain_core.prompts import PromptTemplate
12
  from langchain_core.runnables import RunnablePassthrough
13
  from langchain_core.output_parsers import StrOutputParser
 
 
 
14
 
15
  # ... (rest of imports)
16
 
 
11
  from langchain_core.prompts import PromptTemplate
12
  from langchain_core.runnables import RunnablePassthrough
13
  from langchain_core.output_parsers import StrOutputParser
14
+ from core_utils.core_model_loaders import load_embedding_model
15
+
16
+ embedding_model = load_embedding_model()
17
 
18
  # ... (rest of imports)
19