willn9 commited on
Commit
c277711
·
verified ·
1 Parent(s): 780ae05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-3.5-turbo", # Use "gpt-4" if desired
27
  messages=[
28
  {"role": "system", "content": "You are a helpful and knowledgeable career advisor."},
29
  {"role": "user", "content": prompt},
@@ -49,7 +49,7 @@ career_advice_app = gr.Interface(
49
  gr.Textbox(label="Skills", placeholder="Enter your skills (e.g., math, science, languages, working with tools, ...)", lines=2),
50
  ],
51
  outputs=gr.Textbox(label="Customized Career Advice"),
52
- title="Customized AI-Powered Career Advice - by wn",
53
  description="This app provides AI-powered customized career advice based on your input. Note: even AI can make mistakes!",
54
  )
55
 
 
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},
 
49
  gr.Textbox(label="Skills", placeholder="Enter your skills (e.g., math, science, languages, working with tools, ...)", lines=2),
50
  ],
51
  outputs=gr.Textbox(label="Customized Career Advice"),
52
+ title="Customized AI Career Advice, powered by OpenAI GPT 4, Developed by wn",
53
  description="This app provides AI-powered customized career advice based on your input. Note: even AI can make mistakes!",
54
  )
55