Spaces:
Sleeping
Sleeping
Update app/database.py
Browse files- app/database.py +1 -1
app/database.py
CHANGED
|
@@ -66,7 +66,7 @@ hf_faiss_index = hf_hub_download(
|
|
| 66 |
faiss_index = faiss.read_index(hf_faiss_index)
|
| 67 |
|
| 68 |
# Téléchargement des metadatas Faiss depuis le dataset Hugging Face
|
| 69 |
-
dataset = load_dataset(FAISS_REPO_ID, split="train")
|
| 70 |
arrow_table = dataset.data
|
| 71 |
|
| 72 |
# Creation du Sentence transformer model
|
|
|
|
| 66 |
faiss_index = faiss.read_index(hf_faiss_index)
|
| 67 |
|
| 68 |
# Téléchargement des metadatas Faiss depuis le dataset Hugging Face
|
| 69 |
+
dataset = load_dataset(FAISS_REPO_ID, split="train", token=HF_TOKEN)
|
| 70 |
arrow_table = dataset.data
|
| 71 |
|
| 72 |
# Creation du Sentence transformer model
|