Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("
|
| 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("
|
| 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
|