hruday96 commited on
Commit
8160bb3
·
verified ·
1 Parent(s): c3cb89c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -10
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
- # Create two columns
14
- col1, col2 = st.columns(2)
15
 
16
- # Input fields in the first column
17
- with col1:
18
  st.subheader("Enter Candidate Details:")
19
- candidate_name = st.text_input('Candidate Name', '')
20
- candidate_designation = st.text_input('Candidate Designation', '')
21
- candidate_details = st.text_input('Candidate Details - Skills, Experience (comma separated):', '')
22
 
23
- # Input fields in the second column
24
- with col2:
25
- job_description = st.text_area('Your Job Description:', '')
 
 
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:")