Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
11 |
local_dir = snapshot_download(
|
12 |
-
repo_id="GovindRaj/faiss-vectorstore", # Your Hugging Face repo
|
13 |
-
repo_type="
|
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 |
|