Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import os
|
|
13 |
|
14 |
pkey = os.environ.get("PINECONE_KEY")
|
15 |
|
16 |
-
|
17 |
|
18 |
|
19 |
with open('pinecone_text.py' ,'w') as fb:
|
@@ -22,7 +22,7 @@ import pinecone_text
|
|
22 |
|
23 |
# init connection to pinecone
|
24 |
pinecone.init(
|
25 |
-
api_key=
|
26 |
environment="asia-southeast1-gcp-free" # find next to api key
|
27 |
)
|
28 |
|
|
|
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:
|
|
|
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 |
|