Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ from langchain_community.vectorstores.faiss import FAISS
|
|
19 |
|
20 |
|
21 |
|
22 |
-
db =
|
23 |
|
24 |
#-----------------------------------------------------------------------------
|
25 |
def get_response_from_query(db, query, k=3):
|
|
|
19 |
|
20 |
|
21 |
|
22 |
+
db = FAISS.read_index('index.pkl')
|
23 |
|
24 |
#-----------------------------------------------------------------------------
|
25 |
def get_response_from_query(db, query, k=3):
|