Spaces:
Runtime error
Runtime error
eruizgar91
commited on
Commit
·
9975717
1
Parent(s):
1a11414
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ MY_API_KEY = os.environ.get("MY_API_KEY")
|
|
22 |
|
23 |
|
24 |
# Haystack Components
|
25 |
-
|
26 |
-
@st.cache_data
|
27 |
def start_haystack():
|
28 |
# document_store = InMemoryDocumentStore()
|
29 |
# For dense retriever
|
|
|
22 |
|
23 |
|
24 |
# Haystack Components
|
25 |
+
@st.cache(hash_funcs={"builtins.SwigPyObject": lambda _: None}, allow_output_mutation=True)
|
26 |
+
# @st.cache_data
|
27 |
def start_haystack():
|
28 |
# document_store = InMemoryDocumentStore()
|
29 |
# For dense retriever
|