Ritesh-hf commited on
Commit
cb5f8b2
1 Parent(s): 13186dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- # 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
 
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