willn9 commited on
Commit
df869ec
·
verified ·
1 Parent(s): 5e95df2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-4", # 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},
 
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},