Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ prompt = PromptTemplates(
|
|
| 17 |
def generate_feedback(student_input):
|
| 18 |
full_prompt = prompt.format(student_input=student_input)
|
| 19 |
response = openai.ChatCompletion.create(
|
| 20 |
-
model = "gpt-
|
| 21 |
messages = [
|
| 22 |
{"role": "system", "content"; "You are a helpful writing coach."}
|
| 23 |
{"role": "user", "content": full_prompt}
|
|
|
|
| 17 |
def generate_feedback(student_input):
|
| 18 |
full_prompt = prompt.format(student_input=student_input)
|
| 19 |
response = openai.ChatCompletion.create(
|
| 20 |
+
model = "gpt-5"
|
| 21 |
messages = [
|
| 22 |
{"role": "system", "content"; "You are a helpful writing coach."}
|
| 23 |
{"role": "user", "content": full_prompt}
|