Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,8 +16,9 @@ pinecone.init(
|
|
| 16 |
api_key=PINECONE_API_KEY, # find at app.pinecone.io
|
| 17 |
environment="eu-west4-gcp" # next to api key in console
|
| 18 |
)
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
index_name = "yc-faq-air"
|
| 23 |
vectorstore = Pinecone.from_existing_index(index_name, embeddings)
|
|
|
|
| 16 |
api_key=PINECONE_API_KEY, # find at app.pinecone.io
|
| 17 |
environment="eu-west4-gcp" # next to api key in console
|
| 18 |
)
|
| 19 |
+
AIRTABLE_API_KEY = os.environ.get('API_PINECONE')
|
| 20 |
|
| 21 |
+
##########
|
| 22 |
|
| 23 |
index_name = "yc-faq-air"
|
| 24 |
vectorstore = Pinecone.from_existing_index(index_name, embeddings)
|