Update app.py
Browse files
app.py
CHANGED
@@ -184,11 +184,11 @@ openai.api_key = openai_api_key
|
|
184 |
pinecone_api_key = st.secrets["pinecone_api_key"]
|
185 |
pinecone_environment = st.secrets["pinecone_environment"]
|
186 |
|
|
|
187 |
# AUTHENTICATE/INITIALIZE PINCONE SERVICE
|
188 |
-
from langchain_community.vectorstores import Pinecone
|
189 |
from pinecone import Pinecone
|
190 |
# pc = Pinecone(api_key=pinecone_api_key)
|
191 |
-
pc =
|
192 |
|
193 |
|
194 |
# Define the name of the Pinecone index
|
|
|
184 |
pinecone_api_key = st.secrets["pinecone_api_key"]
|
185 |
pinecone_environment = st.secrets["pinecone_environment"]
|
186 |
|
187 |
+
PINECONE_API_KEY='555c0e70-331d-4b43-aac7-5b3aac5078d6'
|
188 |
# AUTHENTICATE/INITIALIZE PINCONE SERVICE
|
|
|
189 |
from pinecone import Pinecone
|
190 |
# pc = Pinecone(api_key=pinecone_api_key)
|
191 |
+
pc = Pinecone(api_key=PINECONE_API_KEY)
|
192 |
|
193 |
|
194 |
# Define the name of the Pinecone index
|