fix meta tensor error
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -97,7 +97,7 @@ def get_chunks(file_content):
|
|
| 97 |
|
| 98 |
|
| 99 |
# Build retriever from uploaded content
|
| 100 |
-
@st.cache_resource
|
| 101 |
def build_retriever(docs):
|
| 102 |
|
| 103 |
embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2")
|
|
|
|
| 97 |
|
| 98 |
|
| 99 |
# Build retriever from uploaded content
|
| 100 |
+
# @st.cache_resource
|
| 101 |
def build_retriever(docs):
|
| 102 |
|
| 103 |
embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2")
|