Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ meta_path = hf_hub_download(repo_id=REPO_ID, filename="mori_metas.json", repo_t
|
|
| 35 |
|
| 36 |
# Carga de FAISS y metadatos
|
| 37 |
index = faiss.read_index(faiss_path)
|
| 38 |
-
ids = np.load(ids_path)
|
| 39 |
with open(meta_path, "r", encoding="utf-8") as f:
|
| 40 |
metas = json.load(f)
|
| 41 |
|
|
|
|
| 35 |
|
| 36 |
# Carga de FAISS y metadatos
|
| 37 |
index = faiss.read_index(faiss_path)
|
| 38 |
+
ids = np.load(ids_path, allow_pickle=True)
|
| 39 |
with open(meta_path, "r", encoding="utf-8") as f:
|
| 40 |
metas = json.load(f)
|
| 41 |
|