MohanadAfiffy commited on
Commit
1f6966e
·
verified ·
1 Parent(s): df51a9b

Update pages/pages_Apollo_Extract.py

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