Update app.py
Browse files
app.py
CHANGED
@@ -32,4 +32,19 @@ with col2:
|
|
32 |
with col3:
|
33 |
whatsapp_invite = st.button("Whatsapp Invite")
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
|
|
32 |
with col3:
|
33 |
whatsapp_invite = st.button("Whatsapp Invite")
|
34 |
|
35 |
+
# Generate message based on input
|
36 |
+
if linkedin_invite or email_invite or whatsapp_invite:
|
37 |
+
if not candidate_name or not candidate_designation or not candidate_details or not job_description:
|
38 |
+
st.error("Please fill in all the above details before proceeding.")
|
39 |
+
else:
|
40 |
+
if linkedin_invite:
|
41 |
+
message_type = "LinkedIn Invite"
|
42 |
+
elif email_invite:
|
43 |
+
message_type = "Email Invite"
|
44 |
+
else:
|
45 |
+
message_type = "WhatsApp Invite"
|
46 |
+
st.info(f"Generating {message_type}...")
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
|