Rathapoom commited on
Commit
efc4d4d
1 Parent(s): 119f730

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def generate_questions_with_retry(knowledge_material, question_type, cognitive_l
65
  while retries < max_retries:
66
  try:
67
  response = client.chat.completions.create(
68
- model="gpt-4o mini", # or your preferred model
69
  messages=[
70
  {"role": "system", "content": "You are a helpful assistant for generating exam questions."},
71
  {"role": "user", "content": prompt}
 
65
  while retries < max_retries:
66
  try:
67
  response = client.chat.completions.create(
68
+ model="gpt-4o-mini", # or your preferred model
69
  messages=[
70
  {"role": "system", "content": "You are a helpful assistant for generating exam questions."},
71
  {"role": "user", "content": prompt}