Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ GEMINI_API_KEY = "AIzaSyB05WLxtH1x4fMvB87M-GggjQlBnm3YWeE"
|
|
10 |
# and returns an optimized resume tailored to the job description.
|
11 |
def optimize_resume(resume, job_description):
|
12 |
# Gemini API endpoint for text generation (update if needed)
|
13 |
-
url = "https://generativelanguage.googleapis.com/v1beta/models/gemini-
|
14 |
|
15 |
# Prepare the prompt for the AI model
|
16 |
prompt = (
|
|
|
10 |
# and returns an optimized resume tailored to the job description.
|
11 |
def optimize_resume(resume, job_description):
|
12 |
# Gemini API endpoint for text generation (update if needed)
|
13 |
+
url = "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent"
|
14 |
|
15 |
# Prepare the prompt for the AI model
|
16 |
prompt = (
|