internomega-terrablue commited on
Commit
1a14fec
·
1 Parent(s): 9561794

pinecone variable change

Browse files
Files changed (1) hide show
  1. persistence/vector_store.py +2 -2
persistence/vector_store.py CHANGED
@@ -22,10 +22,10 @@ class VectorStore:
22
 
23
  from pinecone import Pinecone
24
 
25
- api_key = os.environ.get("PINECONE_API_KEY")
26
  if not api_key:
27
  raise RuntimeError(
28
- "PINECONE_API_KEY not found in environment. "
29
  "Add it as a Secret in your HF Space settings."
30
  )
31
 
 
22
 
23
  from pinecone import Pinecone
24
 
25
+ api_key = os.environ.get("Pinecone_API")
26
  if not api_key:
27
  raise RuntimeError(
28
+ "Pinecone_API not found in environment. "
29
  "Add it as a Secret in your HF Space settings."
30
  )
31