Update app.py
Browse files75 unmodified lines76777879808175 unmodified linesif st.session_state['HuggingFace_API_Key'] !="" and st.session_state['Pinecone_API_Key']!="" :embeddings=create_embeddings()st.write("🧠 Model ready to understand your queries!")index=pull_from_pinecone(st.session_state['Pinecone_API_Key'],constants.PINECONE_ENVIRONMENT,constants.PINECONE_INDEX,embeddings)st.write("🔍 Database retrieval is done!")75 unmodified lines7677787980818275 unmodified linesif st.session_state['HuggingFace_API_Key'] !="" and st.session_state['Pinecone_API_Key']!="" :embeddings=create_embeddings()st.write(os.environ["PINECONE_API"])st.write("🧠 Model ready to understand your queries!")index=pull_from_pinecone(st.session_state['Pinecone_API_Key'],constants.PINECONE_ENVIRONMENT,constants.PINECONE_INDEX,embeddings)st.write("🔍 Database retrieval is done!")
app.py+1