XThomasBU commited on
Commit
33e5fa6
1 Parent(s): f2beb6a

force download set to true

Browse files
code/modules/vectorstore/vectorstore.py CHANGED
@@ -57,7 +57,9 @@ class VectorStore:
57
  # Download the snapshot from Hugging Face Hub
58
  # Note: Download goes to the cache directory
59
  snapshot_path = snapshot_download(
60
- repo_id=self.config["vectorstore"]["HF_path"], repo_type="dataset"
 
 
61
  )
62
 
63
  # Move the downloaded files to the desired directory
 
57
  # Download the snapshot from Hugging Face Hub
58
  # Note: Download goes to the cache directory
59
  snapshot_path = snapshot_download(
60
+ repo_id=self.config["vectorstore"]["HF_path"],
61
+ repo_type="dataset",
62
+ force_download=True,
63
  )
64
 
65
  # Move the downloaded files to the desired directory