Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,12 +53,12 @@ def initialize_pinecone(index_name: str):
|
|
53 |
##################################################
|
54 |
|
55 |
# Initialize Pinecone index and BM25 encoder
|
56 |
-
pinecone_index = initialize_pinecone("uae-national-library-and-archives-vectorstore")
|
57 |
-
bm25 = BM25Encoder().load("./UAE-NLA.json")
|
58 |
|
59 |
### This is for UAE Legislation Website
|
60 |
-
|
61 |
-
|
62 |
|
63 |
|
64 |
### This is for u.ae Website
|
|
|
53 |
##################################################
|
54 |
|
55 |
# Initialize Pinecone index and BM25 encoder
|
56 |
+
# pinecone_index = initialize_pinecone("uae-national-library-and-archives-vectorstore")
|
57 |
+
# bm25 = BM25Encoder().load("./UAE-NLA.json")
|
58 |
|
59 |
### This is for UAE Legislation Website
|
60 |
+
pinecone_index = initialize_pinecone("uae-legislation-site-data")
|
61 |
+
bm25 = BM25Encoder().load("./bm25_uae_legislation_data.json")
|
62 |
|
63 |
|
64 |
### This is for u.ae Website
|