# import streamlit as st # st.write("On maintenance to release a new version") import streamlit as st from clients import CompanySpecificClient,UserSpecificClient,bothFeaturesFunction def main(): # Start of the form if 'form_submitted' not in st.session_state: st.session_state['form_submitted'] = False with st.form(key='my_form'): options = ["Company-Specific Email Outreach", "Leadership Email Customization"] selected_options = st.multiselect("Please select the needed features", options) email_options = [ "michael@omdena.com", "jamesel@omdena.com", "weronika@omdena.com", "paulina@omdena.com", "fabio@omdena.com", "rudradeb@omdena.com", "mohanad@omdena.com", "huzefa@omdena.com", "humberto@omdena.com", "peter@Omdena.com", "Avnish@omdena.com", "utkarsha@omdena.com", "villainlorenz@gmail.com" ] email_receiver = st.selectbox("Please select an email address", email_options) # Submit button for the form submit_button = st.form_submit_button(label='Select features') # Check if the form has been submitted if submit_button: st.session_state['form_submitted'] = True if st.session_state['form_submitted']: if "Company-Specific Email Outreach" in selected_options and "Leadership Email Customization" in selected_options: bothFeaturesFunction(email_receiver) elif "Company-Specific Email Outreach" in selected_options : CompanySpecificClient(email_receiver) elif "Leadership Email Customization" in selected_options : UserSpecificClient(email_receiver) if __name__ == "__main__": st.markdown( """ """, unsafe_allow_html=True, ) st.markdown('
SalesIntel AI
', unsafe_allow_html=True) logo_url = "https://i.imgur.com/WYnv26e.jpeg" # Replace this with your image's direct URL st.markdown( f"""