ProfessorLeVesseur commited on
Commit
5116502
·
verified ·
1 Parent(s): 6b103be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = pinecone.Pinecone(api_key=PINECONE_API_KEY, environment=PINECONE_ENV)
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