Update app.py
Browse files
app.py
CHANGED
@@ -10,20 +10,25 @@ GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
|
|
10 |
# Configure the Google Generative AI API with your API key
|
11 |
genai.configure(api_key=GOOGLE_API_KEY)
|
12 |
|
13 |
-
#
|
14 |
-
|
15 |
|
16 |
-
#
|
17 |
-
with
|
18 |
st.subheader("Enter Candidate Details:")
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
#
|
24 |
-
with
|
25 |
-
|
|
|
|
|
26 |
|
|
|
|
|
|
|
27 |
|
28 |
# Dropdown menu for tone selection
|
29 |
st.subheader("Select the Tone of the Message:")
|
|
|
10 |
# Configure the Google Generative AI API with your API key
|
11 |
genai.configure(api_key=GOOGLE_API_KEY)
|
12 |
|
13 |
+
# Title of the app
|
14 |
+
st.header("Candidate Outreach Using AI")
|
15 |
|
16 |
+
# Create a container for better grouping
|
17 |
+
with st.container():
|
18 |
st.subheader("Enter Candidate Details:")
|
19 |
+
|
20 |
+
# Create two columns for alignment
|
21 |
+
col1, col2 = st.columns([2, 3]) # Adjust column proportions as needed
|
22 |
|
23 |
+
# First column for candidate details
|
24 |
+
with col1:
|
25 |
+
candidate_name = st.text_input('Candidate Name:', '')
|
26 |
+
candidate_designation = st.text_input('Candidate Designation:', '')
|
27 |
+
candidate_details = st.text_input('Candidate Details - Skills, Experience (comma separated):', '')
|
28 |
|
29 |
+
# Second column for job description
|
30 |
+
with col2:
|
31 |
+
job_description = st.text_area('Your Job Description:', '')
|
32 |
|
33 |
# Dropdown menu for tone selection
|
34 |
st.subheader("Select the Tone of the Message:")
|