GovindRaj commited on
Commit
23218cc
·
verified ·
1 Parent(s): fdf90b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,10 +7,10 @@ from langchain_community.llms import CTransformers
7
  from langchain.chains import RetrievalQA
8
  from huggingface_hub import snapshot_download
9
 
10
- # Download the FAISS database files from Hugging Face
11
  local_dir = snapshot_download(
12
- repo_id="GovindRaj/faiss-vectorstore", # Your Hugging Face repo
13
- repo_type="space", # Dataset or space, as needed
14
  local_dir="./vectorstore" # Local path to store downloaded data
15
  )
16
 
 
7
  from langchain.chains import RetrievalQA
8
  from huggingface_hub import snapshot_download
9
 
10
+ # Download the FAISS vector store files from Hugging Face
11
  local_dir = snapshot_download(
12
+ repo_id="GovindRaj/faiss-vectorstore", # Your actual Hugging Face repo for the FAISS vectorstore
13
+ repo_type="dataset", # It's a dataset in this case
14
  local_dir="./vectorstore" # Local path to store downloaded data
15
  )
16