Spaces:
Sleeping
Sleeping
File size: 3,612 Bytes
5fba847 2d6cc10 10e15f0 e5556c0 10e15f0 2d6cc10 10e15f0 39bd099 2d6cc10 e8868ea 39bd099 2d6cc10 10e15f0 2d6cc10 986895c 2d6cc10 10e15f0 2d6cc10 10e15f0 2d6cc10 10e15f0 2d6cc10 10e15f0 2d6cc10 10e15f0 2d6cc10 10e15f0 986895c 2d6cc10 10e15f0 2d6cc10 986895c 2d6cc10 10e15f0 23c0773 2d6cc10 10e15f0 2d6cc10 10e15f0 4c58d1a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
import streamlit as st
import os
from clients import CompanySpecificClient, UserSpecificClient, hooks, RengagmentEmail, display_analytics
st.set_page_config(page_title="SalesIntel", layout="wide")
st.html("styles.html")
endpoint = os.getenv('blog_lead_endpoint')
st.html('<h1 class="title"> SalesIntel </h1>')
st.html('<h4 class="hero-subtitle"> Your AI Sales Companions for Success</h4>')
email_options = [
"", # Invalid selection
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
]
email_address = st.selectbox("**Introduce yourself to us**", email_options)
def main():
# First container for Hook2Lead
cols = st.columns(2)
with cols[0]:
with st.container(border=True):
st.html('<h3><span>Re-engagement Campaigns</span></h3>')
cols_internal = st.columns(2)
with cols_internal[0]:
if st.button("Hook2lead", help="The tool will match it with the leads. You can bring your hooks either a blog, AI announcement, or trend"):
if email_address:
hook_dialog(email_address)
else:
st.warning("Please select a valid email address to proceed.")
with cols_internal[1]:
if st.button("let the AI hooks", help="The AI will summarize the conversation and action points for you and write an email to explore new use cases. You can bring old conversations with previous leads"):
if email_address:
rengage_lead()
else:
st.warning("Please select a valid email address to proceed.")
with cols[1]:
with st.container(border=True):
st.html('<h3><span>Cold Campaigns</span></h3>')
cols = st.columns(2)
with cols[0]:
if st.button("Tailored for companies", help="Generate cold emails based on company offerings and Omdena's services"):
if email_address:
cold_organization_dialog()
else:
st.warning("Please select a valid email address to proceed.")
with cols[1]:
if st.button("Tailored for executives", help="Generate cold emails based on executive achievements"):
if email_address:
cold_executive_dialog()
else:
st.warning("Please select a valid email address to proceed.")
@st.dialog("Bring your hook , and we will match it with the leads", width="large")
def hook_dialog(email_address):
hooks(email_address)
@st.dialog("personalized cold emails for company offerings", width="large")
def cold_organization_dialog():
CompanySpecificClient(email_address)
@st.dialog("personalized cold emails for executive achievements", width="large")
def cold_executive_dialog():
UserSpecificClient(email_address)
@st.dialog("Tailored emails for re-engaging leads", width="large")
def rengage_lead():
RengagmentEmail(email_address)
if __name__ == "__main__":
logo_url = "https://i.imgur.com/WYnv26e.jpeg" # Replace this with your image's direct URL
st.markdown(
f"""
<img src="{logo_url}" class="logo">
""",
unsafe_allow_html=True,
)
main()
display_analytics() |