Spaces:
Runtime error
Runtime error
makcrx
commited on
Commit
·
2c96123
1
Parent(s):
91856d0
fix
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import reranking
|
|
5 |
from extract_keywords import init_keyword_extractor, extract_keywords
|
6 |
|
7 |
embeddings = SentenceTransformerEmbeddings(model_name="multi-qa-MiniLM-L6-cos-v1")
|
8 |
-
db = FAISS.load_local('faiss_qa_2023-08-
|
9 |
init_keyword_extractor()
|
10 |
|
11 |
def main(query):
|
|
|
5 |
from extract_keywords import init_keyword_extractor, extract_keywords
|
6 |
|
7 |
embeddings = SentenceTransformerEmbeddings(model_name="multi-qa-MiniLM-L6-cos-v1")
|
8 |
+
db = FAISS.load_local('faiss_qa_2023-08-20', embeddings)
|
9 |
init_keyword_extractor()
|
10 |
|
11 |
def main(query):
|