Spaces:
Runtime error
Runtime error
lambdaofgod
commited on
Commit
•
f6824f1
1
Parent(s):
c006ab1
nmslib and disabling cache warning
Browse files- pages/1_Retrieval_App.py +1 -1
- requirements.txt +1 -0
pages/1_Retrieval_App.py
CHANGED
@@ -73,7 +73,7 @@ def setup_pipeline(
|
|
73 |
)
|
74 |
|
75 |
|
76 |
-
@st.cache
|
77 |
def setup_retrieval_pipeline(
|
78 |
query_encoder_path, document_encoder_path, documents, metadata
|
79 |
):
|
|
|
73 |
)
|
74 |
|
75 |
|
76 |
+
@st.cache(allow_output_mutation=True)
|
77 |
def setup_retrieval_pipeline(
|
78 |
query_encoder_path, document_encoder_path, documents, metadata
|
79 |
):
|
requirements.txt
CHANGED
@@ -2,3 +2,4 @@
|
|
2 |
-e git+https://github.com/lambdaofgod/mlutil#egg=mlutil
|
3 |
sentence-transformers==2.2.2
|
4 |
toolz
|
|
|
|
2 |
-e git+https://github.com/lambdaofgod/mlutil#egg=mlutil
|
3 |
sentence-transformers==2.2.2
|
4 |
toolz
|
5 |
+
nmslib
|