tecuhtli commited on
Commit
f5495cb
·
verified ·
1 Parent(s): 2e1ba2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,9 +28,9 @@ HF_TOKEN = os.environ.get("HF_TOKEN")
28
  REPO_ID = "hazutecuhtli/mori_faiss_full"
29
 
30
  # Descarga de archivos privados
31
- faiss_path = hf_hub_download(repo_id=REPO_ID, filename="mori.faiss", repo_type="dataset", token=TOKEN)
32
- ids_path = hf_hub_download(repo_id=REPO_ID, filename="mori_ids.npy", repo_type="dataset", token=TOKEN)
33
- meta_path = hf_hub_download(repo_id=REPO_ID, filename="mori_metas.json", repo_type="dataset", token=TOKEN)
34
 
35
  # Carga de FAISS y metadatos
36
  index = faiss.read_index(faiss_path)
 
28
  REPO_ID = "hazutecuhtli/mori_faiss_full"
29
 
30
  # Descarga de archivos privados
31
+ faiss_path = hf_hub_download(repo_id=REPO_ID, filename="mori.faiss", repo_type="dataset", token=HF_TOKEN)
32
+ ids_path = hf_hub_download(repo_id=REPO_ID, filename="mori_ids.npy", repo_type="dataset", token=HF_TOKEN)
33
+ meta_path = hf_hub_download(repo_id=REPO_ID, filename="mori_metas.json", repo_type="dataset", token=HF_TOKEN)
34
 
35
  # Carga de FAISS y metadatos
36
  index = faiss.read_index(faiss_path)