k21k commited on
Commit
b103b6a
·
verified ·
1 Parent(s): aa896f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
11
  genai.configure(api_key=GOOGLE_API_KEY)
12
 
13
  # Text input for user prompt
14
- user_input = st.text_area("Enter your prompt to generate content:")
15
 
16
  prompt = f"""
17
  Analyze the following Job Description: I am providing my resume as below. I will paste the Job description in the UI. Make sure the below prompts are executed perfectly.
@@ -94,7 +94,7 @@ Job Description: {user_input}
94
  """
95
 
96
  # Button to submit the prompt
97
- if st.button("Generate"):
98
  if user_input:
99
  # Initialize the model
100
  model = genai.GenerativeModel('gemini-pro') # Assuming this is the correct model
 
11
  genai.configure(api_key=GOOGLE_API_KEY)
12
 
13
  # Text input for user prompt
14
+ user_input = st.text_area("Please paste the JD:")
15
 
16
  prompt = f"""
17
  Analyze the following Job Description: I am providing my resume as below. I will paste the Job description in the UI. Make sure the below prompts are executed perfectly.
 
94
  """
95
 
96
  # Button to submit the prompt
97
+ if st.button("Create Custom Resume"):
98
  if user_input:
99
  # Initialize the model
100
  model = genai.GenerativeModel('gemini-pro') # Assuming this is the correct model