Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ chat_model = ChatHuggingFace(llm=llm)
|
|
| 98 |
embeddings = HuggingFaceEmbeddings(model_name=EMBEDDING_MODEL)
|
| 99 |
|
| 100 |
# --- 3. Carregando a vector store FAISS salva localmente ---
|
| 101 |
-
vector_store_path = '.
|
| 102 |
try:
|
| 103 |
faiss_store = FAISS.load_local(vector_store_path, embeddings, allow_dangerous_deserialization=True)
|
| 104 |
except Exception as e:
|
|
|
|
| 98 |
embeddings = HuggingFaceEmbeddings(model_name=EMBEDDING_MODEL)
|
| 99 |
|
| 100 |
# --- 3. Carregando a vector store FAISS salva localmente ---
|
| 101 |
+
vector_store_path = './vector_store/vs_base/'
|
| 102 |
try:
|
| 103 |
faiss_store = FAISS.load_local(vector_store_path, embeddings, allow_dangerous_deserialization=True)
|
| 104 |
except Exception as e:
|