Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,8 @@ pinecone_environment = st.secrets["pinecone_environment"]
|
|
| 186 |
|
| 187 |
# AUTHENTICATE/INITIALIZE PINCONE SERVICE
|
| 188 |
from pinecone import Pinecone
|
| 189 |
-
pc = Pinecone(
|
|
|
|
| 190 |
|
| 191 |
# Define the name of the Pinecone index
|
| 192 |
index_name = 'mimtssinkqa'
|
|
|
|
| 186 |
|
| 187 |
# AUTHENTICATE/INITIALIZE PINCONE SERVICE
|
| 188 |
from pinecone import Pinecone
|
| 189 |
+
# pc = Pinecone()
|
| 190 |
+
Pinecone.init(api_key=pinecone_api_key, environment=pinecone_environment)
|
| 191 |
|
| 192 |
# Define the name of the Pinecone index
|
| 193 |
index_name = 'mimtssinkqa'
|