Spaces:
Sleeping
Sleeping
Stefano Fiorucci
commited on
Commit
•
fc05d15
1
Parent(s):
5e13129
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def start_haystack():
|
|
32 |
"""
|
33 |
#shutil.copy(f'{INDEX_DIR}/faiss_document_store.db','.')
|
34 |
document_store = FAISSDocumentStore(
|
35 |
-
sql_url=f'sqlite:///{INDEX_DIR}/faiss_document_store.db'
|
36 |
faiss_index_path=f'{INDEX_DIR}/my_faiss_index.faiss',
|
37 |
faiss_config_path=f'{INDEX_DIR}/my_faiss_index.json')
|
38 |
print (f'Index size: {document_store.get_document_count()}')
|
|
|
32 |
"""
|
33 |
#shutil.copy(f'{INDEX_DIR}/faiss_document_store.db','.')
|
34 |
document_store = FAISSDocumentStore(
|
35 |
+
sql_url=f'sqlite:///{INDEX_DIR}/faiss_document_store.db',
|
36 |
faiss_index_path=f'{INDEX_DIR}/my_faiss_index.faiss',
|
37 |
faiss_config_path=f'{INDEX_DIR}/my_faiss_index.json')
|
38 |
print (f'Index size: {document_store.get_document_count()}')
|