simonraj commited on
Commit
4d64936
·
1 Parent(s): 09bda9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def predict(question_choice, audio):
28
  conversation = [
29
  {
30
  "role": "system",
31
- "content": f"You are an expert English Language Teacher in a Singapore Primary school, directly guiding a Primary 6 student in Singapore. The student is answering the question: '{data6.questions[current_question_index]}'. Point out areas they did well and where they can improve. Then, provide a suggested response using the {data6.strategy_text[current_question_index][0]} strategy. Encourage the use of sophisticated vocabulary and expressions. For the second and third questions, the picture is not relevant, so the student should not refer to it in their response. {explanation} The feedback should be in second person, addressing the student directly."
32
  },
33
  {"role": "user", "content": message}
34
  ]
 
28
  conversation = [
29
  {
30
  "role": "system",
31
+ "content": f"You are an expert English Language Teacher in a Singapore Primary school, directly guiding a Primary 6 student in Singapore. The student is answering the question: '{HongWenData.questions[current_question_index]}'. Point out areas they did well and where they can improve. Then, provide a suggested response using the {HongWenData.strategy_text[current_question_index][0]} strategy. Encourage the use of sophisticated vocabulary and expressions. For the second and third questions, the picture is not relevant, so the student should not refer to it in their response. {explanation} The feedback should be in second person, addressing the student directly."
32
  },
33
  {"role": "user", "content": message}
34
  ]