Loren commited on
Commit
6064dc9
·
verified ·
1 Parent(s): 2117ac7

Update app/database.py

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