pranav8tripathi Pragatik771 commited on
Commit
5bb15b0
·
verified ·
1 Parent(s): f2a0e05

Update ui/session_state.py (#8)

Browse files

- Update ui/session_state.py (370c0b528261366f3ae8ba72a01217ee0628f7b6)


Co-authored-by: Kumrawat <Pragatik771@users.noreply.huggingface.co>

Files changed (1) hide show
  1. ui/session_state.py +53 -7
ui/session_state.py CHANGED
@@ -22,18 +22,18 @@ def initialize_session_state():
22
  if 'email_body' not in st.session_state:
23
  st.session_state.email_body = """<p>Dear {name},</p>
24
 
25
- <p>We are pleased to inform you that you have been shortlisted for the position of <strong>{job_title}</strong>.</p>
26
 
27
  <div style="background-color: #f8f9fa; padding: 15px; border-radius: 5px; margin: 20px 0;">
28
- <h3 style="color: #2c3e50; margin-top: 0;">Your Match Score</h3>
29
- <p style="font-size: 24px; color: #27ae60; font-weight: bold; margin: 10px 0;">
30
- {match_score}%
31
- </p>
32
  </div>
33
 
34
- <p>Our team will reach out to you shortly with the next steps in the interview process.</p>
35
 
36
- <p>If you have any questions, please feel free to reply to this email.</p>
37
 
38
  <p style="margin-top: 30px;">
39
  Best regards,<br>
@@ -41,3 +41,49 @@ def initialize_session_state():
41
  </p>"""
42
  if 'selected_candidates' not in st.session_state:
43
  st.session_state.selected_candidates = {}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  if 'email_body' not in st.session_state:
23
  st.session_state.email_body = """<p>Dear {name},</p>
24
 
25
+ <p>We are excited to inform you that your application for the <strong>{job_title}</strong> position has progressed to the next stage!</p>
26
 
27
  <div style="background-color: #f8f9fa; padding: 15px; border-radius: 5px; margin: 20px 0;">
28
+ <h3 style="color: #2c3e50; margin-top: 0;">Your Application Status</h3>
29
+ <p><strong>Position:</strong> {job_title}</p>
30
+ <p><strong>Status:</strong> Your application is under review</p>
31
+ <p>Our hiring team will be in touch shortly with the next steps in our selection process.</p>
32
  </div>
33
 
34
+ <p>We were particularly impressed with your qualifications and experience. While we review all applications, we wanted to let you know that your profile has stood out to us.</p>
35
 
36
+ <p>If you have any questions in the meantime, please don't hesitate to reply to this email.</p>
37
 
38
  <p style="margin-top: 30px;">
39
  Best regards,<br>
 
41
  </p>"""
42
  if 'selected_candidates' not in st.session_state:
43
  st.session_state.selected_candidates = {}
44
+ if 'interview_reminder_subject' not in st.session_state:
45
+ st.session_state.interview_reminder_subject = "Reminder: Upcoming Interview for {job_title}"
46
+ if 'interview_reminder_body' not in st.session_state:
47
+ st.session_state.interview_reminder_body = """<p>Dear {name},</p>
48
+
49
+ <p>This is a friendly reminder about your upcoming interview for the position of <strong>{job_title}</strong>.</p>
50
+
51
+ <div style="background-color: #f8f9fa; padding: 15px; border-radius: 5px; margin: 20px 0;">
52
+ <h3 style="color: #2c3e50; margin-top: 0;">Interview Details</h3>
53
+ <p><strong>Date & Time:</strong> {interview_date} at {interview_time}</p>
54
+ <p><strong>Interviewer:</strong> {interviewer}</p>
55
+ {meeting_link}
56
+ </div>
57
+
58
+ <p>Please ensure you have the following ready for the interview:</p>
59
+ <ul>
60
+ <li>A copy of your resume</li>
61
+ <li>Any relevant work samples or portfolio items</li>
62
+ <li>Questions you may have about the role</li>
63
+ </ul>
64
+
65
+ <p>If you need to reschedule or have any questions, please reply to this email at your earliest convenience.</p>
66
+
67
+ <p style="margin-top: 30px;">
68
+ Best regards,<br>
69
+ <strong>ResumeIQ Hiring Team</strong>
70
+ </p>"""
71
+ if 'interview_followup_subject' not in st.session_state:
72
+ st.session_state.interview_followup_subject = "Thank You for Your Time - Next Steps"
73
+ if 'interview_followup_body' not in st.session_state:
74
+ st.session_state.interview_followup_body = """<p>Dear {name},</p>
75
+
76
+ <p>Thank you for taking the time to interview for the <strong>{job_title}</strong> position. We enjoyed learning more about your experience and how you could contribute to our team.</p>
77
+
78
+ <div style="background-color: #f8f9fa; padding: 15px; border-radius: 5px; margin: 20px 0;">
79
+ <h3 style="color: #2c3e50; margin-top: 0;">Our Next Steps</h3>
80
+ <p>Our team is currently reviewing all candidates and will be making decisions in the coming days. We appreciate your patience during this process.</p>
81
+ <p>If you have any additional questions or materials you'd like to share, please don't hesitate to reach out.</p>
82
+ </div>
83
+
84
+ <p>Thank you again for your interest in joining our team. We'll be in touch soon with an update.</p>
85
+
86
+ <p style="margin-top: 30px;">
87
+ Best regards,<br>
88
+ <strong>ResumeIQ Hiring Team</strong>
89
+ </p>"""