Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -627,7 +627,7 @@ def create_vectorstore(corpus, title, embedding_model, chunk_size=1000, overlap=
|
|
627 |
|
628 |
return vectorstore
|
629 |
|
630 |
-
@st.
|
631 |
def create_memory_and_agent(_docsearch):
|
632 |
|
633 |
'''Embed text and generate semantic search scores'''
|
|
|
627 |
|
628 |
return vectorstore
|
629 |
|
630 |
+
@st.cache_resource
|
631 |
def create_memory_and_agent(_docsearch):
|
632 |
|
633 |
'''Embed text and generate semantic search scores'''
|