Spaces:
Running
Running
import streamlit as st | |
st.write("on maintenance to release a new version") | |
# #!/usr/bin/env python3 | |
# # -*- coding: utf-8 -*- | |
# """ | |
# Created on Tue Jan 2 12:26:26 2024 | |
# @author: mohanadafiffy | |
# """ | |
# import streamlit as st | |
# from clients import BH_Ngo ,BH_industry | |
# def main(): | |
# # Start of the form | |
# if 'form_submitted' not in st.session_state: | |
# st.session_state['form_submitted'] = False | |
# # Dictionary mapping emails to sender names | |
# email_to_sender = { | |
# "[email protected]": "Michael", | |
# "[email protected]": "James", | |
# "[email protected]": "Weronika", | |
# "[email protected]": "Paulina", | |
# "[email protected]": "Fabio", | |
# "[email protected]": "Rudradeb", | |
# "[email protected]": "Mohanad", | |
# "[email protected]": "Huzefa", | |
# "[email protected]": "Mustafa", | |
# "[email protected]": "Mike", | |
# "[email protected]": "Ansh", | |
# "[email protected]": "Jamaludeen", | |
# "[email protected]": "Mohammed Zuhair", | |
# "[email protected]": "Shawna", | |
# "[email protected]": "Peter", | |
# "[email protected]": "Derek", | |
# "[email protected]": "Allan", | |
# "[email protected]": "Miguel", | |
# "[email protected]": "Cristian", | |
# "[email protected]": "Vamsi Krishna", | |
# "[email protected]": "Manifest", | |
# "[email protected]": "Utkarsha", | |
# "[email protected]": "Emmanuel", | |
# "[email protected]": "Damian", | |
# "[email protected]": "Humberto", | |
# "[email protected]": "Nafsika", | |
# "[email protected]": "Madalin", | |
# "[email protected]": "William", | |
# "[email protected]": "Adish", | |
# "[email protected]": "John", | |
# "[email protected]": "Dmytro", | |
# "[email protected]": "Levent", | |
# "[email protected]": "Joao", | |
# "[email protected]": "Lior" | |
# } | |
# with st.form(key='my_form'): | |
# options = ["NGO Emails", "Industry company focused Emails"] | |
# selected_options = st.selectbox("Please select the needed features", options,key='select feature') | |
# email_options = list(email_to_sender.keys()) | |
# email_receiver = st.selectbox("Please select an email address", email_options) | |
# # Display the sender name based on the selected email | |
# sender_name = email_to_sender.get(email_receiver, " ") | |
# # Submit button for the form | |
# calendly_link = st.text_input("Please write your Calendly link") | |
# 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 "NGO Emails" in selected_options : | |
# BH_Ngo(email_receiver,calendly_link,sender_name) | |
# elif "Industry company focused Emails" in selected_options : | |
# BH_industry(email_receiver,calendly_link,sender_name) | |
# if __name__ == "__main__": | |
# st.markdown( | |
# """ | |
# <style> | |
# .higher-title { | |
# font-size:35px !important; | |
# color: #4A90E2; /* Shade of blue */ | |
# text-align: center; | |
# font-weight: bold; | |
# margin-top: -20px; /* Adjust this value to control the height */ | |
# } | |
# </style> | |
# """, | |
# unsafe_allow_html=True, | |
# ) | |
# st.markdown('<p class="higher-title">SalesIntel AI</p>', unsafe_allow_html=True) | |
# logo_url = "https://i.imgur.com/WYnv26e.jpeg" # Replace this with your image's direct URL | |
# st.markdown( | |
# f""" | |
# <style> | |
# .logo {{ | |
# position: fixed; | |
# bottom: 5px; | |
# right: 5px; | |
# width: 100px; # Adjust width as needed | |
# }} | |
# </style> | |
# <img src="{logo_url}" class="logo"> | |
# """, | |
# unsafe_allow_html=True, | |
# ) | |
# main() | |