Spaces:
Runtime error
Runtime error
minor
Browse files
app.py
CHANGED
|
@@ -138,8 +138,8 @@ def start_haystack():
|
|
| 138 |
load document store, retriever, entailment checker and create pipeline
|
| 139 |
"""
|
| 140 |
document_store = FAISSDocumentStore(
|
| 141 |
-
faiss_index_path=f".
|
| 142 |
-
faiss_config_path=f".
|
| 143 |
)
|
| 144 |
print(f"Index size: {document_store.get_document_count()}")
|
| 145 |
retriever = EmbeddingRetriever(
|
|
|
|
| 138 |
load document store, retriever, entailment checker and create pipeline
|
| 139 |
"""
|
| 140 |
document_store = FAISSDocumentStore(
|
| 141 |
+
faiss_index_path=f"./data/my_faiss_index.faiss",
|
| 142 |
+
faiss_config_path=f"./data/my_faiss_index.json",
|
| 143 |
)
|
| 144 |
print(f"Index size: {document_store.get_document_count()}")
|
| 145 |
retriever = EmbeddingRetriever(
|