Spaces:
Runtime error
Runtime error
Update pinecone_integration.py
Browse files- pinecone_integration.py +1 -1
pinecone_integration.py
CHANGED
@@ -20,7 +20,7 @@ class PineconeIndex:
|
|
20 |
sentence_model = self.sm
|
21 |
|
22 |
# get api key from app.pinecone.io
|
23 |
-
PINECONE_API_KEY = "b97d5759-dd39-428b-a1fd-ed30f3ba74ee" # os.environ.get('PINECONE_API_KEY') or 'PINECONE_API_KEY'
|
24 |
# find your environment next to the api key in pinecone console
|
25 |
PINECONE_ENV = "us-west4-gcp" # os.environ.get('PINECONE_ENV') or 'PINECONE_ENV'
|
26 |
|
|
|
20 |
sentence_model = self.sm
|
21 |
|
22 |
# get api key from app.pinecone.io
|
23 |
+
PINECONE_API_KEY = os.environ.get('PINECONE_API_KEY', 'None') #"b97d5759-dd39-428b-a1fd-ed30f3ba74ee" # os.environ.get('PINECONE_API_KEY') or 'PINECONE_API_KEY'
|
24 |
# find your environment next to the api key in pinecone console
|
25 |
PINECONE_ENV = "us-west4-gcp" # os.environ.get('PINECONE_ENV') or 'PINECONE_ENV'
|
26 |
|