ManailFatima commited on
Commit
627d6ac
·
verified ·
1 Parent(s): a6d62fe

Update store_index.py

Browse files
Files changed (1) hide show
  1. 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
- 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):
 
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):