Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ pinecone_api_key = os.getenv('PINECONE_API_KEY')
|
|
| 16 |
pc = Pinecone(api_key=pinecone_api_key)
|
| 17 |
|
| 18 |
# Create Pinecone index if it doesn't exist
|
| 19 |
-
index_name = "
|
| 20 |
if index_name not in pc.list_indexes().names():
|
| 21 |
pc.create_index(
|
| 22 |
name=index_name,
|
|
|
|
| 16 |
pc = Pinecone(api_key=pinecone_api_key)
|
| 17 |
|
| 18 |
# Create Pinecone index if it doesn't exist
|
| 19 |
+
index_name = "scdd-index"
|
| 20 |
if index_name not in pc.list_indexes().names():
|
| 21 |
pc.create_index(
|
| 22 |
name=index_name,
|