Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ load_dotenv()
|
|
| 13 |
# Initialize Pinecone and the index outside the function
|
| 14 |
pinecone_key = os.getenv("PINECONE_API_KEY")
|
| 15 |
pc = Pinecone(api_key=pinecone_key)
|
| 16 |
-
index_name = "whatsapp-chat-index"
|
| 17 |
|
| 18 |
if 'index_name' not in pc.list_indexes().names():
|
| 19 |
pc.create_index(
|
|
|
|
| 13 |
# Initialize Pinecone and the index outside the function
|
| 14 |
pinecone_key = os.getenv("PINECONE_API_KEY")
|
| 15 |
pc = Pinecone(api_key=pinecone_key)
|
| 16 |
+
index_name = "whatsapp-chat-index-1"
|
| 17 |
|
| 18 |
if 'index_name' not in pc.list_indexes().names():
|
| 19 |
pc.create_index(
|