Rathapoom commited on
Commit
4dd2b1a
·
verified ·
1 Parent(s): 16dbfcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def generate_questions_with_retry(knowledge_material, question_type, cognitive_l
39
  while retries < max_retries:
40
  try:
41
  response = client.chat.completions.create(
42
- model="gpt-3.5-turbo",
43
  messages=[
44
  {"role": "system", "content": "You are a helpful assistant for generating exam questions."},
45
  {"role": "user", "content": prompt}
 
39
  while retries < max_retries:
40
  try:
41
  response = client.chat.completions.create(
42
+ model="gpt-4o-mini",
43
  messages=[
44
  {"role": "system", "content": "You are a helpful assistant for generating exam questions."},
45
  {"role": "user", "content": prompt}