Spaces:
Running
Running
Update app.py
Browse files
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-
|
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}
|