import streamlit as st | |
def main(): | |
st.title("Email Sent Successfully") | |
st.write("Thank you for your tool request! Your email has been sent.") | |
st.write("Here are the details of your request:") | |
# Retrieve the tool and email from session state | |
tool = st.session_state.get('tool') | |
email = st.session_state.get('email') | |
if tool and email: | |
st.write(f"**Tool:** {tool}") | |
st.write(f"**Email:** {email}") | |
else: | |
st.write("No request details found.") | |
if __name__ == "__main__": | |
main() |