sab commited on
Commit
840482f
β€’
1 Parent(s): 9b93e00

first commit

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,12 +38,11 @@ class DraftlyticsApp:
38
 
39
  def display_header(self):
40
  #st.image('images/rephraise_logo.png', width=100)
41
- st.markdown(f"# Welcome to {Config.PAGE_TITLE} πŸ“§")
42
- st.write("### Your Expert AI Email Assistant πŸ€–")
43
 
44
  def get_user_input(self):
45
  st.subheader("πŸ“Œ What is the main subject of your email?")
46
- st.write("Note: The generated email will be in English.")
47
  with st.expander("βœ‰οΈ Email Input", expanded=True):
48
  input_c1 = st.text_input('Provide the main topic of your email', '')
49
  input_c2 = st.text_input('Provide the secondary topic of your email (optional)', '')
@@ -62,6 +61,7 @@ class DraftlyticsApp:
62
  if st.button('Generate Email πŸš€'):
63
  with st.spinner('Generating your email... ⏳'):
64
  self.validate_and_generate_email(input_c1, input_c2, input_sender, input_recipient, input_style)
 
65
 
66
  def validate_and_generate_email(self, input_c1, input_c2, input_sender, input_recipient, input_style):
67
  if not input_c1.strip():
 
38
 
39
  def display_header(self):
40
  #st.image('images/rephraise_logo.png', width=100)
41
+ st.markdown(f"# Welcome to {Config.PAGE_TITLE} πŸ€–")
42
+ st.write("### Your Expert AI Email Assistant ")
43
 
44
  def get_user_input(self):
45
  st.subheader("πŸ“Œ What is the main subject of your email?")
 
46
  with st.expander("βœ‰οΈ Email Input", expanded=True):
47
  input_c1 = st.text_input('Provide the main topic of your email', '')
48
  input_c2 = st.text_input('Provide the secondary topic of your email (optional)', '')
 
61
  if st.button('Generate Email πŸš€'):
62
  with st.spinner('Generating your email... ⏳'):
63
  self.validate_and_generate_email(input_c1, input_c2, input_sender, input_recipient, input_style)
64
+ st.write("Note: The generated email will be in English.")
65
 
66
  def validate_and_generate_email(self, input_c1, input_c2, input_sender, input_recipient, input_style):
67
  if not input_c1.strip():