Update app.py
Browse files
app.py
CHANGED
@@ -284,7 +284,7 @@ def get_llm():
|
|
284 |
# Initialize embeddings
|
285 |
@st.cache_resource
|
286 |
def get_embeddings():
|
287 |
-
return HuggingFaceEmbeddings(model_name="sentence-transformers/all-
|
288 |
|
289 |
# Initialize text splitter
|
290 |
@st.cache_resource
|
|
|
284 |
# Initialize embeddings
|
285 |
@st.cache_resource
|
286 |
def get_embeddings():
|
287 |
+
return HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
288 |
|
289 |
# Initialize text splitter
|
290 |
@st.cache_resource
|