Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ CHUNKS_FILE = "chunks_233.pkl"
|
|
| 41 |
|
| 42 |
index = faiss.read_index(FAISS_FILE)
|
| 43 |
|
| 44 |
-
with open(
|
| 45 |
chunks = pickle.load(f)
|
| 46 |
|
| 47 |
embed_model = SentenceTransformer("all-MiniLM-L6-v2")
|
|
|
|
| 41 |
|
| 42 |
index = faiss.read_index(FAISS_FILE)
|
| 43 |
|
| 44 |
+
with open(CHUNKS_FILE, "rb") as f:
|
| 45 |
chunks = pickle.load(f)
|
| 46 |
|
| 47 |
embed_model = SentenceTransformer("all-MiniLM-L6-v2")
|