Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ app.config['SECRET_KEY'] = SECRET_KEY
|
|
48 |
|
49 |
# Initialize Pinecone index and BM25 encoder
|
50 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
51 |
-
pinecone_index = pc.
|
52 |
bm25 = BM25Encoder().load("./UAE-NLA.json")
|
53 |
|
54 |
|
|
|
48 |
|
49 |
# Initialize Pinecone index and BM25 encoder
|
50 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
51 |
+
pinecone_index = pc.Index("uae-national-library-and-archives-vectorstore")
|
52 |
bm25 = BM25Encoder().load("./UAE-NLA.json")
|
53 |
|
54 |
|