Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def generate_feedback(student_input):
|
|
| 21 |
{"role": "user", "content": full_prompt}
|
| 22 |
]
|
| 23 |
)
|
| 24 |
-
return response.
|
| 25 |
|
| 26 |
# Build the UI
|
| 27 |
with gr.Blocks() as demo:
|
|
|
|
| 21 |
{"role": "user", "content": full_prompt}
|
| 22 |
]
|
| 23 |
)
|
| 24 |
+
return response.choices[0].message["content"]
|
| 25 |
|
| 26 |
# Build the UI
|
| 27 |
with gr.Blocks() as demo:
|