Spaces:
Runtime error
Runtime error
secret added
Browse files
app.py
CHANGED
@@ -20,6 +20,8 @@ else:
|
|
20 |
|
21 |
# Initialize embeddings
|
22 |
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
|
|
|
|
23 |
|
24 |
# Load or create FAISS vector store
|
25 |
FAISS_INDEX_PATH = os.path.join(VECTOR_STORE_DIR, "index.faiss")
|
|
|
20 |
|
21 |
# Initialize embeddings
|
22 |
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
|
23 |
+
SEC_KEY = os.getenv("SEC_KEY")
|
24 |
+
|
25 |
|
26 |
# Load or create FAISS vector store
|
27 |
FAISS_INDEX_PATH = os.path.join(VECTOR_STORE_DIR, "index.faiss")
|