Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def delete_files_except(folder_path):
|
|
| 24 |
|
| 25 |
def MOP(path):
|
| 26 |
embeddings = HuggingFaceEmbeddings(model_name="BAAI/bge-m3")
|
| 27 |
-
template_vectors = FAISS.load_local('vector_database', embeddings, allow_dangerous_deserialization=True)
|
| 28 |
text_chunks1=8
|
| 29 |
vectors_template=template_vectors
|
| 30 |
docs=[]
|
|
|
|
| 24 |
|
| 25 |
def MOP(path):
|
| 26 |
embeddings = HuggingFaceEmbeddings(model_name="BAAI/bge-m3")
|
| 27 |
+
template_vectors = FAISS.load_local('vector_database/', embeddings, allow_dangerous_deserialization=True)
|
| 28 |
text_chunks1=8
|
| 29 |
vectors_template=template_vectors
|
| 30 |
docs=[]
|