diginoron commited on
Commit
17cd4db
·
verified ·
1 Parent(s): d0dd8a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def generate_topics(field, major, keywords, audience, level):
19
 
20
  try:
21
  completion = client.chat.completions.create(
22
- model="gpt-4", # یا gpt-3.5-turbo
23
  messages=[
24
  {"role": "system", "content": "You are an academic advisor assistant."},
25
  {"role": "user", "content": prompt}
 
19
 
20
  try:
21
  completion = client.chat.completions.create(
22
+ model="gpt-4o-mini", # یا gpt-3.5-turbo
23
  messages=[
24
  {"role": "system", "content": "You are an academic advisor assistant."},
25
  {"role": "user", "content": prompt}