Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def generate_career_advice(field, position_name, current_qualifications, likes,
|
|
23 |
|
24 |
# Call the OpenAI API
|
25 |
try:
|
26 |
-
response = client.chat.completions.create(model="gpt-
|
27 |
messages=[
|
28 |
{"role": "system", "content": "You are a helpful and knowledgeable career advisor."},
|
29 |
{"role": "user", "content": prompt},
|
|
|
23 |
|
24 |
# Call the OpenAI API
|
25 |
try:
|
26 |
+
response = client.chat.completions.create(model="gpt-4o-mini", # Use "gpt-3.5-turbo" if desired
|
27 |
messages=[
|
28 |
{"role": "system", "content": "You are a helpful and knowledgeable career advisor."},
|
29 |
{"role": "user", "content": prompt},
|