Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -608,7 +608,7 @@ Please provide:
|
|
608 |
Format your response with clear headers and bullet points."""
|
609 |
|
610 |
# Call OpenAI API
|
611 |
-
response = openai.
|
612 |
model="gpt-4o", # Using GPT-4 Omega model
|
613 |
messages=[
|
614 |
{"role": "system", "content": "You are an expert mathematics professor grading student solutions."},
|
|
|
608 |
Format your response with clear headers and bullet points."""
|
609 |
|
610 |
# Call OpenAI API
|
611 |
+
response = openai.chat.completions.create(
|
612 |
model="gpt-4o", # Using GPT-4 Omega model
|
613 |
messages=[
|
614 |
{"role": "system", "content": "You are an expert mathematics professor grading student solutions."},
|