Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("
|
| 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 |
-
|
|
|
|
| 15 |
|
| 16 |
prompt = f"""
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 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
|