Spaces:
Running
Running
Fix app crash on startup
Browse files
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 |
|