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