Geoeasy commited on
Commit
acc9385
·
verified ·
1 Parent(s): 0ca5822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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)(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
+