Spaces:
Configuration error
Configuration error
Update store_index.py
Browse files- store_index.py +2 -2
store_index.py
CHANGED
|
@@ -20,8 +20,8 @@ os.environ["PINECONE_API_KEY"] = Pinecone_API_KEY
|
|
| 20 |
|
| 21 |
embeddings = download_embeddings()
|
| 22 |
|
| 23 |
-
|
| 24 |
-
pc = Pinecone(api_key=
|
| 25 |
|
| 26 |
index_name = "doctor-ai"
|
| 27 |
if not pc.has_index(index_name):
|
|
|
|
| 20 |
|
| 21 |
embeddings = download_embeddings()
|
| 22 |
|
| 23 |
+
Pinecone_API_KEY=Pinecone_API_KEY
|
| 24 |
+
pc = Pinecone(api_key=Pinecone_API_KEY)
|
| 25 |
|
| 26 |
index_name = "doctor-ai"
|
| 27 |
if not pc.has_index(index_name):
|