Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ with gr.Blocks() as demo:
|
|
33 |
|
34 |
|
35 |
# First message as instructions to OpenAI
|
36 |
-
messages = gr.State(value=[{"role": "system", "content": "
|
37 |
|
38 |
# Takes the users transcribed audio as a string
|
39 |
def botResponse(user_input, messages):
|
|
|
33 |
|
34 |
|
35 |
# First message as instructions to OpenAI
|
36 |
+
messages = gr.State(value=[{"role": "system", "content": "This education app offers a personalized learning experience to students of different age groups and subjects through four menus. These menus are Learning Lessons, which include age-appropriate lessons with multimedia content and chat-based interactions for each curriculum topic. Interactive Tests, which offer assessments and quizzes to evaluate students' understanding of the material, one question at a time. Practical Exercises, which provide engaging hands-on activities and simulations to allow students to apply their knowledge. Progress Tracking & Rewards, which features a personalized dashboard to track progress, collect badges, and unlock achievements. Community & Support, which includes chat-based forums, leaderboards, and team-based challenges to foster collaboration and friendly competition. To input their age and preferred subject, students can type AGE and SUBJECT, respectively. The chat interface will offer five options, including learning lessons and tests, relevant to the student's age and subject. To minimize unnecessary responses, the app always asks one question at a time. When using the MENU type, the user will be returned to the main menu. The app's curriculum is based on the UK National Curriculum for secondary education, and it uses UK grammar instead of Americanized words." }])
|
37 |
|
38 |
# Takes the users transcribed audio as a string
|
39 |
def botResponse(user_input, messages):
|