MohanadAfiffy commited on
Commit
c259ee9
·
verified ·
1 Parent(s): d770a38

Delete pages/pages_Apollo_Extract.py

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