Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ else:
|
|
37 |
embedding_model = HuggingFaceEmbeddings(model_name="sentence-transformers/LaBSE")
|
38 |
|
39 |
# Carica i vectorstore FAISS salvati
|
40 |
-
|
41 |
manual_vectorstore = FAISS.load_local("faiss_manual_index", embedding_model, allow_dangerous_deserialization=True)
|
42 |
problems_vectorstore = FAISS.load_local("faiss_problems_index", embedding_model, allow_dangerous_deserialization=True)
|
43 |
|
|
|
37 |
embedding_model = HuggingFaceEmbeddings(model_name="sentence-transformers/LaBSE")
|
38 |
|
39 |
# Carica i vectorstore FAISS salvati
|
40 |
+
|
41 |
manual_vectorstore = FAISS.load_local("faiss_manual_index", embedding_model, allow_dangerous_deserialization=True)
|
42 |
problems_vectorstore = FAISS.load_local("faiss_problems_index", embedding_model, allow_dangerous_deserialization=True)
|
43 |
|