simonza commited on
Commit
405197d
1 Parent(s): 7e0aaad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -13,8 +13,6 @@ import os
13
 
14
  pkey = os.environ.get("PINECONE_KEY")
15
 
16
- print("our pinecone key -> " + pkey)
17
-
18
 
19
  with open('pinecone_text.py' ,'w') as fb:
20
  fb.write(requests.get('https://storage.googleapis.com/gareth-pinecone-datasets/pinecone_text.py').text)
@@ -22,7 +20,7 @@ import pinecone_text
22
 
23
  # init connection to pinecone
24
  pinecone.init(
25
- api_key="0898750a-ee05-44f1-ac8a-98c5fef92f4a", # app.pinecone.io
26
  environment="asia-southeast1-gcp-free" # find next to api key
27
  )
28
 
 
13
 
14
  pkey = os.environ.get("PINECONE_KEY")
15
 
 
 
16
 
17
  with open('pinecone_text.py' ,'w') as fb:
18
  fb.write(requests.get('https://storage.googleapis.com/gareth-pinecone-datasets/pinecone_text.py').text)
 
20
 
21
  # init connection to pinecone
22
  pinecone.init(
23
+ api_key=str(pkey), # app.pinecone.io
24
  environment="asia-southeast1-gcp-free" # find next to api key
25
  )
26