Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ if not Path(INDEX_FILE).exists() or not Path(CHUNKS_FILE).exists():
|
|
| 58 |
|
| 59 |
# load FAISS index and chunks
|
| 60 |
index = faiss.read_index(INDEX_FILE)
|
| 61 |
-
chunks = np.load(CHUNKS_FILE, allow_pickle=True)
|
| 62 |
|
| 63 |
# ----------------------------
|
| 64 |
# Local embedding model (context retrieval)
|
|
@@ -221,3 +221,4 @@ if __name__ == "__main__":
|
|
| 221 |
|
| 222 |
|
| 223 |
|
|
|
|
|
|
| 58 |
|
| 59 |
# load FAISS index and chunks
|
| 60 |
index = faiss.read_index(INDEX_FILE)
|
| 61 |
+
chunks = np.load(CHUNKS_FILE, allow_pickle=True)
|
| 62 |
|
| 63 |
# ----------------------------
|
| 64 |
# Local embedding model (context retrieval)
|
|
|
|
| 221 |
|
| 222 |
|
| 223 |
|
| 224 |
+
|