Spaces:
Sleeping
Sleeping
Delete pages/Apollo_Extract.py
Browse files- pages/Apollo_Extract.py +0 -75
pages/Apollo_Extract.py
DELETED
@@ -1,75 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from clients import CompanySpecificClient,UserSpecificClient,bothFeaturesFunction
|
3 |
-
|
4 |
-
def main():
|
5 |
-
# Start of the form
|
6 |
-
if 'form_submitted' not in st.session_state:
|
7 |
-
st.session_state['form_submitted'] = False
|
8 |
-
with st.form(key='my_form'):
|
9 |
-
options = ["Company-Specific Email Outreach", "Leadership Email Customization"]
|
10 |
-
selected_options = st.multiselect("Please select the needed features", options)
|
11 |
-
|
12 |
-
email_options = [
|
13 |
-
"[email protected]",
|
14 |
-
"[email protected]",
|
15 |
-
"[email protected]",
|
16 |
-
"[email protected]",
|
17 |
-
"[email protected]",
|
18 |
-
"[email protected]",
|
19 | |
20 |
-
]
|
21 |
-
email_receiver = st.selectbox("Please select an email address", email_options)
|
22 |
-
|
23 |
-
# Submit button for the form
|
24 |
-
submit_button = st.form_submit_button(label='Select features')
|
25 |
-
|
26 |
-
# Check if the form has been submitted
|
27 |
-
if submit_button:
|
28 |
-
st.session_state['form_submitted'] = True
|
29 |
-
if st.session_state['form_submitted']:
|
30 |
-
if "Company-Specific Email Outreach" in selected_options and "Leadership Email Customization" in selected_options:
|
31 |
-
bothFeaturesFunction(email_receiver)
|
32 |
-
elif "Company-Specific Email Outreach" in selected_options :
|
33 |
-
CompanySpecificClient(email_receiver)
|
34 |
-
elif "Leadership Email Customization" in selected_options :
|
35 |
-
UserSpecificClient(email_receiver)
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
if __name__ == "__main__":
|
40 |
-
st.markdown(
|
41 |
-
"""
|
42 |
-
<style>
|
43 |
-
.higher-title {
|
44 |
-
font-size:35px !important;
|
45 |
-
color: #4A90E2; /* Shade of blue */
|
46 |
-
text-align: center;
|
47 |
-
font-weight: bold;
|
48 |
-
margin-top: -20px; /* Adjust this value to control the height */
|
49 |
-
}
|
50 |
-
</style>
|
51 |
-
""",
|
52 |
-
unsafe_allow_html=True,
|
53 |
-
)
|
54 |
-
|
55 |
-
st.markdown('<p class="higher-title">SalesIntel AI</p>', unsafe_allow_html=True)
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
logo_url = "https://i.imgur.com/WYnv26e.jpeg" # Replace this with your image's direct URL
|
60 |
-
st.markdown(
|
61 |
-
f"""
|
62 |
-
<style>
|
63 |
-
.logo {{
|
64 |
-
position: fixed;
|
65 |
-
bottom: 5px;
|
66 |
-
right: 5px;
|
67 |
-
width: 100px; # Adjust width as needed
|
68 |
-
}}
|
69 |
-
</style>
|
70 |
-
<img src="{logo_url}" class="logo">
|
71 |
-
""",
|
72 |
-
unsafe_allow_html=True,
|
73 |
-
)
|
74 |
-
main()
|
75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|