Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import os
|
|
10 |
# initialising the locally saved vectorstore from artifacts
|
11 |
model_name = "sentence-transformers/all-mpnet-base-v2"
|
12 |
embeddings = HuggingFaceEmbeddings(model_name = model_name)
|
13 |
-
vectorstore = FAISS.load_local("artifacts
|
14 |
|
15 |
# creating a generate_response function to take the input query and show the output
|
16 |
def generate_response(input_query):
|
|
|
10 |
# initialising the locally saved vectorstore from artifacts
|
11 |
model_name = "sentence-transformers/all-mpnet-base-v2"
|
12 |
embeddings = HuggingFaceEmbeddings(model_name = model_name)
|
13 |
+
vectorstore = FAISS.load_local("artifacts/FAISS-Vectorstore", embeddings)
|
14 |
|
15 |
# creating a generate_response function to take the input query and show the output
|
16 |
def generate_response(input_query):
|