Guru-25 commited on
Commit
d8a085f
β€’
1 Parent(s): dbc4efa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -76,6 +76,7 @@ if submit:
76
  if st.session_state['HuggingFace_API_Key'] !="" and st.session_state['Pinecone_API_Key']!="" :
77
 
78
  embeddings=create_embeddings()
 
79
  st.write("🧠 Model ready to understand your queries!")
80
  index=pull_from_pinecone(st.session_state['Pinecone_API_Key'],constants.PINECONE_ENVIRONMENT,constants.PINECONE_INDEX,embeddings)
81
  st.write("πŸ” Database retrieval is done!")
 
76
  if st.session_state['HuggingFace_API_Key'] !="" and st.session_state['Pinecone_API_Key']!="" :
77
 
78
  embeddings=create_embeddings()
79
+ st.write(os.environ["PINECONE_API"])
80
  st.write("🧠 Model ready to understand your queries!")
81
  index=pull_from_pinecone(st.session_state['Pinecone_API_Key'],constants.PINECONE_ENVIRONMENT,constants.PINECONE_INDEX,embeddings)
82
  st.write("πŸ” Database retrieval is done!")