Update app.py
Browse files
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!")
|