KunaalNaik commited on
Commit
fe1ac72
·
verified ·
1 Parent(s): f8decbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  import google.generativeai as genai
3
 
4
  # Header for the Streamlit app
5
- st.header("Google Gemini - Generate Content")
6
 
7
  # Retrieve the API key from Streamlit secrets
8
  GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
@@ -11,16 +11,17 @@ 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:
18
-
19
- 1. Extract the top keywords.
20
- 2. Suggest a learning plan based on the skills required.
21
- 3. Provide the top interview questions a candidate might face.
22
-
23
- Job Description: {user_input}
24
  """
25
 
26
  # Button to submit the prompt
 
2
  import google.generativeai as genai
3
 
4
  # Header for the Streamlit app
5
+ st.header("Resume Maker")
6
 
7
  # Retrieve the API key from Streamlit secrets
8
  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_resume = st.text_area("Enter your Resume", height = 100)
15
+ user_input_job_description = st.text_area("Enter JD", height = 100)
16
 
17
  prompt = f"""
18
+ Imagine you are an ATS Compliante Resume Creator Use my Current Resume
19
+ {user_input_resume} and the
20
+ new JD to create a Resume that has keywords paraphrased as per the new
21
+ {user_input_job_description}.
22
+ First create a Proffesional Summary
23
+ and then create a 6 main categories of the skills and put all the keywords under them as comma seperated format.
24
+ Then create the Current Exprience Section with keywords from the JD.
25
  """
26
 
27
  # Button to submit the prompt