File size: 545 Bytes
323c021
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()